(Poly)
| 418 | |
| 419 | |
| 420 | def test_copy(Poly): |
| 421 | p1 = Poly.basis(5) |
| 422 | p2 = p1.copy() |
| 423 | assert_(p1 == p2) |
| 424 | assert_(p1 is not p2) |
| 425 | assert_(p1.coef is not p2.coef) |
| 426 | assert_(p1.domain is not p2.domain) |
| 427 | assert_(p1.window is not p2.window) |
| 428 | |
| 429 | |
| 430 | def test_integ(Poly): |