(Poly)
| 109 | |
| 110 | |
| 111 | def test_basis(Poly): |
| 112 | d = Poly.domain + random((2,)) * .25 |
| 113 | w = Poly.window + random((2,)) * .25 |
| 114 | p = Poly.basis(5, domain=d, window=w) |
| 115 | assert_equal(p.domain, d) |
| 116 | assert_equal(p.window, w) |
| 117 | assert_equal(p.coef, [0] * 5 + [1]) |
| 118 | |
| 119 | |
| 120 | def test_fromroots(Poly): |
nothing calls this directly
no test coverage detected
searching dependent graphs…