MCPcopy Index your code
hub / github.com/numpy/numpy / test_equal

Function test_equal

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

Source from the content-addressed store, hash-verified

192
193
194def test_equal(Poly):
195 p1 = Poly([1, 2, 3], domain=[0, 1], window=[2, 3])
196 p2 = Poly([1, 1, 1], domain=[0, 1], window=[2, 3])
197 p3 = Poly([1, 2, 3], domain=[1, 2], window=[2, 3])
198 p4 = Poly([1, 2, 3], domain=[0, 1], window=[1, 2])
199 assert_(p1 == p1)
200 assert_(not p1 == p2)
201 assert_(not p1 == p3)
202 assert_(not p1 == p4)
203
204
205def test_not_equal(Poly):

Callers

nothing calls this directly

Calls 2

assert_Function · 0.90
PolyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…