MCPcopy
hub / github.com/numpy/numpy / test_simple

Method test_simple

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

check_real_valueFunction · 0.85

Tested by

no test coverage detected