(Poly)
| 103 | |
| 104 | |
| 105 | def test_basis(Poly): |
| 106 | d = Poly.domain + random((2,))*.25 |
| 107 | w = Poly.window + random((2,))*.25 |
| 108 | p = Poly.basis(5, domain=d, window=w) |
| 109 | assert_equal(p.domain, d) |
| 110 | assert_equal(p.window, w) |
| 111 | assert_equal(p.coef, [0]*5 + [1]) |
| 112 | |
| 113 | |
| 114 | def test_fromroots(Poly): |
nothing calls this directly
no test coverage detected