summaryrefslogtreecommitdiff
path: root/tests/float/builtin_float_hash.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-05-21 13:05:40 +1000
committerDamien George <damien.p.george@gmail.com>2018-05-21 13:05:40 +1000
commit1ad0013decb42418ca667c2d9994198b537fa778 (patch)
tree2647bd161006438865a89dfd3f9fc4b814501752 /tests/float/builtin_float_hash.py
parent95e43efc994af7d7ff85ef1722eac163be9cc5fd (diff)
tests: Add some tests for bigint hash, float hash and float parsing.
Following outcome of recent fuzz testing and sanitizing by @jepler.
Diffstat (limited to 'tests/float/builtin_float_hash.py')
-rw-r--r--tests/float/builtin_float_hash.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/float/builtin_float_hash.py b/tests/float/builtin_float_hash.py
index dd184595f..7a7e37401 100644
--- a/tests/float/builtin_float_hash.py
+++ b/tests/float/builtin_float_hash.py
@@ -3,6 +3,7 @@
# these should hash to an integer with a specific value
for val in (
'0.0',
+ '-0.0',
'1.0',
'2.0',
'-12.0',
@@ -15,6 +16,7 @@ for val in (
'0.1',
'-0.1',
'10.3',
+ '0.4e3',
'1e16',
'inf',
'-inf',