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

Method test_count

Lib/test/test_math_property.py:25–27  ·  view source on GitHub ↗
(self, x, y, steps)

Source from the content-addressed store, hash-verified

23 y=floats(),
24 steps=integers(min_value=0, max_value=2**16))
25 def test_count(self, x, y, steps):
26 assert_equal_float(via_reduce(x, y, steps),
27 nextafter(x, y, steps=steps))
28
29 @requires_IEEE_754
30 @hypothesis.given(

Callers

nothing calls this directly

Calls 3

nextafterFunction · 0.90
assert_equal_floatFunction · 0.85
via_reduceFunction · 0.85

Tested by

no test coverage detected