tests/basics: Add more tuple tests to improve coverage testing.

This commit is contained in:
Damien George
2016-08-15 10:46:02 +10:00
parent 2196799051
commit 3c82d1d34b
3 changed files with 22 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
print(hash(False))
print(hash(True))
print({():1}) # hash tuple
print({(1,):1}) # hash non-empty tuple
print({1 << 66:1}) # hash big int
print({-(1 << 66):2}) # hash negative big int
print(hash in {hash:1}) # hash function