test-kivy-app/kivy_venv/lib/python3.11/site-packages/kivy/tests/test_compat.py
2024-09-15 15:12:16 +03:00

7 lines
186 B
Python

from kivy.compat import isclose
def test_isclose():
assert isclose(1.1, 1.1), 'Close floats should assert True'
assert not isclose(1.1, 2.1), 'Close floats should assert True'