(Poly)
| 552 | |
| 553 | |
| 554 | def test_mapparms(Poly): |
| 555 | # check with defaults. Should be identity. |
| 556 | d = Poly.domain |
| 557 | w = Poly.window |
| 558 | p = Poly([1], domain=d, window=w) |
| 559 | assert_almost_equal([0, 1], p.mapparms()) |
| 560 | # |
| 561 | w = 2*d + 1 |
| 562 | p = Poly([1], domain=d, window=w) |
| 563 | assert_almost_equal([1, 2], p.mapparms()) |
| 564 | |
| 565 | |
| 566 | def test_ufunc_override(Poly): |
nothing calls this directly
no test coverage detected