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

Function test_identity

numpy/polynomial/tests/test_symbol.py:209–211  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

207
208
209def test_identity():
210 p = poly.Polynomial.identity(domain=[-1, 1], window=[5, 20], symbol='z')
211 assert_equal(p.symbol, 'z')
212
213
214def test_basis():

Callers

nothing calls this directly

Calls 2

assert_equalFunction · 0.90
identityMethod · 0.80

Tested by

no test coverage detected