MCPcopy Create free account
hub / github.com/datacamp/pythonwhat / test_math_builtins

Function test_math_builtins

tests/test_signatures.py:123–126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121
122
123def test_math_builtins():
124 code = "m.radians(100)"
125 s = setup_state(code, code, pec="import math as m")
126 s.check_function("math.radians").check_args("x").has_equal_value()
127
128
129@pytest.mark.parametrize("fun, argument", [("append", "object"), ("count", "value")])

Callers

nothing calls this directly

Calls 1

setup_stateFunction · 0.90

Tested by

no test coverage detected