diff options
Diffstat (limited to '_test/test_float.py')
-rw-r--r-- | _test/test_float.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/_test/test_float.py b/_test/test_float.py index 2012b15..1f104f3 100644 --- a/_test/test_float.py +++ b/_test/test_float.py @@ -22,6 +22,8 @@ class TestFloat: - -42. - +42. - .5 + - +.5 + - -.5 """) print(data) assert 0.999 < data[0] < 1.001 @@ -34,6 +36,8 @@ class TestFloat: assert 41.999 < -data[7] < 42.001 assert 41.999 < data[8] < 42.001 assert .49 < data[9] < .51 + assert .49 < data[10] < .51 + assert -.51 < data[11] < -.49 def test_round_trip_zeros_0(self): data = round_trip("""\ |