MCPcopy Create free account
hub / github.com/numpy/numpy / test_simple

Method test_simple

numpy/core/tests/test_umath_complex.py:472–477  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

470
471class TestCarg:
472 def test_simple(self):
473 check_real_value(ncu._arg, 1, 0, 0, False)
474 check_real_value(ncu._arg, 0, 1, 0.5*np.pi, False)
475
476 check_real_value(ncu._arg, 1, 1, 0.25*np.pi, False)
477 check_real_value(ncu._arg, np.PZERO, np.PZERO, np.PZERO)
478
479 # TODO This can be xfail when the generator functions are got rid of.
480 @pytest.mark.skip(

Callers

nothing calls this directly

Calls 1

check_real_valueFunction · 0.85

Tested by

no test coverage detected