diff options
author | Kevin Ryde <user42@zip.com.au> | 2002-05-09 02:12:21 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2002-05-09 02:12:21 +0200 |
commit | ee57e2a7cc5cad62ec666d383cec5c69a7ea85ca (patch) | |
tree | 0074df5b6f6ead60cd464f6ae9141ec0e54b3cc4 /tests/mpz/t-export.c | |
parent | 60ef39553f40c5e343c55c02ae890214c272514f (diff) | |
download | gmp-ee57e2a7cc5cad62ec666d383cec5c69a7ea85ca.tar.gz |
* tests/mpz/t-import.c, tests/mpz/t-export.c: More test data.
Diffstat (limited to 'tests/mpz/t-export.c')
-rw-r--r-- | tests/mpz/t-export.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/mpz/t-export.c b/tests/mpz/t-export.c index 7592c1994..d212db03e 100644 --- a/tests/mpz/t-export.c +++ b/tests/mpz/t-export.c @@ -94,6 +94,15 @@ check_data (void) { 0x0C,0xC0,0x0B,0xB0,0x0A,0xA0,0x09,0x90, 0x08,0x80,0x07,0x70,0x06,0x60,0x05,0x50, 0x04,0x40,0x03,0x30,0x02,0x20,0x01,0x10 } }, + + { "0x155555555555555555555555", 3,1, 4,1, 1, + { 0x55,0x55,0x55,0x55, 0x2A,0xAA,0xAA,0xAA, 0x55,0x55,0x55,0x55 } }, + { "0x155555555555555555555555", 3,-1, 4,1, 1, + { 0x55,0x55,0x55,0x55, 0x2A,0xAA,0xAA,0xAA, 0x55,0x55,0x55,0x55 } }, + { "0x155555555555555555555555", 3,1, 4,-1, 1, + { 0x55,0x55,0x55,0x55, 0xAA,0xAA,0xAA,0x2A, 0x55,0x55,0x55,0x55 } }, + { "0x155555555555555555555555", 3,-1, 4,-1, 1, + { 0x55,0x55,0x55,0x55, 0xAA,0xAA,0xAA,0x2A, 0x55,0x55,0x55,0x55 } }, }; char buf[sizeof(data[0].src) + sizeof (mp_limb_t) + 128]; |