tests: Add further tests for mpz code.

This commit is contained in:
Damien George
2015-10-01 18:49:37 +01:00
parent 2f4e8511cd
commit a81539db25
9 changed files with 63 additions and 0 deletions

View File

@@ -35,8 +35,11 @@ print(struct.pack("<I", 0xffffffff))
# long long ints
print(struct.pack("<Q", 2**64 - 1))
print(struct.pack(">Q", 2**64 - 1))
print(struct.pack("<Q", 0xffffffffffffffff))
print(struct.pack(">Q", 0xffffffffffffffff))
print(struct.pack("<q", -1))
print(struct.pack(">q", -1))
print(struct.pack("<Q", 1234567890123456789))
print(struct.pack("<q", -1234567890123456789))
print(struct.pack(">Q", 1234567890123456789))