13 Commits

Author SHA1 Message Date
Brad Hards
139d3f03a2 Convert unit tests to QCA2 style.
svn path=/trunk/kdesupport/qca/; revision=359929
2004-11-02 19:24:57 +00:00
Brad Hards
f88ed1acb5 Prepare for removing second argument from cmp, and name change to compare
svn path=/trunk/kdesupport/qca/; revision=359211
2004-10-31 10:51:25 +00:00
Brad Hards
cf7043fb57 Add a stream operator, including a simple unit test.
svn path=/trunk/kdesupport/qca/; revision=359187
2004-10-31 09:29:11 +00:00
Brad Hards
547b1e6dcf Add in some comparison operator tests.
svn path=/trunk/kdesupport/qca/; revision=359156
2004-10-31 05:11:39 +00:00
Brad Hards
3b0176a2c5 Finish off the Botan subtraction tests, and do direct QBigInteger
level tests for every case.

svn path=/trunk/kdesupport/qca/; revision=358953
2004-10-30 11:43:12 +00:00
Brad Hards
1e2d756bd5 Fix a broken test case.
In case you are wondering what actually changed - I added a digit 1 to
the start.

svn path=/trunk/kdesupport/qca/; revision=358422
2004-10-28 07:53:27 +00:00
Brad Hards
09cbe1ad57 We no longer do octal.
svn path=/trunk/kdesupport/qca/; revision=358128
2004-10-27 10:00:53 +00:00
Brad Hards
40a52d78b9 Fix incorrect testcase.
svn path=/trunk/kdesupport/qca/; revision=357885
2004-10-26 12:15:03 +00:00
Brad Hards
42f7db971c More cleanups now the negative constructor problem is gone.
svn path=/trunk/kdesupport/qca/; revision=357875
2004-10-26 11:44:17 +00:00
Brad Hards
cba8c7d7a0 Add some trivial octal tests.
svn path=/trunk/kdesupport/qca/; revision=357865
2004-10-26 10:54:17 +00:00
Brad Hards
585fc4afe7 Add some extra unit tests, and turn on the tests that invoke negative
constructors.

svn path=/trunk/kdesupport/qca/; revision=357850
2004-10-26 10:22:23 +00:00
Brad Hards
0eb64b5b35 Some more subtraction tests.
svn path=/trunk/kdesupport/qca/; revision=357555
2004-10-25 12:44:26 +00:00
Brad Hards
08d69c5d27 Add some of the Botan test cases for QBigInteger - lots more
cases still to be done.

My machine is delivering failing tests for a few steps (currently 7
failures) and 17 passes. There are a lot of tests commented out -
any use of a QBigInteger( QString ) constructor with the QString
representing a negative number causes SIGABRT.

Of the 7 cases that are failing, two are for subtraction. Looks like
-= is broken.

svn path=/trunk/kdesupport/qca/; revision=357243
2004-10-24 06:34:11 +00:00