MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / test_float_number

Function test_float_number

maths/test_factorial.py:37–39  ·  view source on GitHub ↗
(function)

Source from the content-addressed store, hash-verified

35
36@pytest.mark.parametrize("function", [factorial, factorial_recursive])
37def test_float_number(function):
38 with pytest.raises(ValueError):
39 function(1.5)
40
41
42if __name__ == "__main__":

Callers

nothing calls this directly

Calls 1

functionFunction · 0.85

Tested by

no test coverage detected