mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 11:40:18 +01:00
tests: Add further tests for mpz code.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user