MCPcopy Index your code
hub / github.com/RustPython/RustPython / assert_equal_float

Function assert_equal_float

Lib/test/test_math_property.py:11–12  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

9
10
11def assert_equal_float(x, y):
12 assert isnan(x) and isnan(y) or x == y
13
14
15def via_reduce(x, y, steps):

Callers 2

test_countMethod · 0.85

Calls 1

isnanFunction · 0.90

Tested by

no test coverage detected