(Poly)
| 436 | |
| 437 | |
| 438 | def test_copy(Poly): |
| 439 | p1 = Poly.basis(5) |
| 440 | p2 = p1.copy() |
| 441 | assert_(p1 == p2) |
| 442 | assert_(p1 is not p2) |
| 443 | assert_(p1.coef is not p2.coef) |
| 444 | assert_(p1.domain is not p2.domain) |
| 445 | assert_(p1.window is not p2.window) |
| 446 | |
| 447 | |
| 448 | def test_integ(Poly): |