~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More test vectors. (At last!)
[catacomb]
/
tests
/
mpint
diff --git
a/tests/mpint
b/tests/mpint
index
d0c9667
..
771ea0d
100644
(file)
--- a/
tests/mpint
+++ b/
tests/mpint
@@
-1,6
+1,6
@@
# Test vectors for conversion between MP ints and C ints
#
# Test vectors for conversion between MP ints and C ints
#
-# $Id: mpint,v 1.
1 1999/11/25 11:38:33
mdw Exp $
+# $Id: mpint,v 1.
3 2000/07/09 21:33:54
mdw Exp $
# The tests look messy because I'm fighting with atoi here as well as the
# integer conversion routines I'm trying to test.
# The tests look messy because I'm fighting with atoi here as well as the
# integer conversion routines I'm trying to test.
@@
-10,7
+10,7
@@
fromuint {
1 1;
-5 0xfffffffb;
0x7fffffff 0x7fffffff;
1 1;
-5 0xfffffffb;
0x7fffffff 0x7fffffff;
-
-0x80000000 0x80000000;
# Bastard torture test
+
0x80000000 0x80000000;
# Bastard torture test
}
fromint {
}
fromint {
@@
-36,4
+36,3
@@
toint {
0x7fffffff 0x7fffffff;
-0x80000000 -0x80000000; # Bastard torture test
}
0x7fffffff 0x7fffffff;
-0x80000000 -0x80000000; # Bastard torture test
}
-