(self)
| 114 | assert_equal(res, tgt, err_msg=msg) |
| 115 | |
| 116 | def test_polypow(self): |
| 117 | for i in range(5): |
| 118 | for j in range(5): |
| 119 | msg = f"At i={i}, j={j}" |
| 120 | c = np.arange(i + 1) |
| 121 | tgt = reduce(poly.polymul, [c]*j, np.array([1])) |
| 122 | res = poly.polypow(c, j) |
| 123 | assert_equal(trim(res), trim(tgt), err_msg=msg) |
| 124 | |
| 125 | |
| 126 | class TestEvaluation: |
nothing calls this directly
no test coverage detected