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

Function test_not_equal

numpy/polynomial/tests/test_classes.py:199–207  ·  view source on GitHub ↗
(Poly)

Source from the content-addressed store, hash-verified

197
198
199def test_not_equal(Poly):
200 p1 = Poly([1, 2, 3], domain=[0, 1], window=[2, 3])
201 p2 = Poly([1, 1, 1], domain=[0, 1], window=[2, 3])
202 p3 = Poly([1, 2, 3], domain=[1, 2], window=[2, 3])
203 p4 = Poly([1, 2, 3], domain=[0, 1], window=[1, 2])
204 assert_(not p1 != p1)
205 assert_(p1 != p2)
206 assert_(p1 != p3)
207 assert_(p1 != p4)
208
209
210def test_add(Poly):

Callers

nothing calls this directly

Calls 2

assert_Function · 0.90
PolyFunction · 0.85

Tested by

no test coverage detected