(self)
| 520 | assert_almost_equal(res, tgt) |
| 521 | |
| 522 | def test_hermeroots(self): |
| 523 | assert_almost_equal(herme.hermeroots([1]), []) |
| 524 | assert_almost_equal(herme.hermeroots([1, 1]), [-1]) |
| 525 | for i in range(2, 5): |
| 526 | tgt = np.linspace(-1, 1, i) |
| 527 | res = herme.hermeroots(herme.hermefromroots(tgt)) |
| 528 | assert_almost_equal(trim(res), trim(tgt)) |
| 529 | |
| 530 | def test_hermetrim(self): |
| 531 | coef = [2, -1, 1, 0] |
nothing calls this directly
no test coverage detected