diff options
Diffstat (limited to 'tests/float/float1.py')
-rw-r--r-- | tests/float/float1.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/float/float1.py b/tests/float/float1.py index 54807e5ac9..f6d69e3904 100644 --- a/tests/float/float1.py +++ b/tests/float/float1.py @@ -64,6 +64,8 @@ print(1.2 <= 3.4) print(1.2 <= -3.4) print(1.2 >= 3.4) print(1.2 >= -3.4) +print(0.0 == False, 1.0 == True) +print(False == 0.0, True == 1.0) # comparison of nan is special nan = float('nan') |