(Poly)
| 544 | |
| 545 | |
| 546 | def test_trim(Poly): |
| 547 | c = [1, 1e-6, 1e-12, 0] |
| 548 | p = Poly(c) |
| 549 | assert_equal(p.trim().coef, c[:3]) |
| 550 | assert_equal(p.trim(1e-10).coef, c[:2]) |
| 551 | assert_equal(p.trim(1e-5).coef, c[:1]) |
| 552 | |
| 553 | |
| 554 | def test_mapparms(Poly): |
nothing calls this directly
no test coverage detected