Test ArrayZ copy constructor
(self)
| 288 | self.assertTrue(isinstance(aa, Array.ArrayZ)) |
| 289 | |
| 290 | def testConstructor3(self): |
| 291 | "Test ArrayZ copy constructor" |
| 292 | for i in range(self.array3.length()): self.array3[i] = complex(i,-i) |
| 293 | arrayCopy = Array.ArrayZ(self.array3) |
| 294 | self.assertTrue(arrayCopy == self.array3) |
| 295 | |
| 296 | def testConstructorBad(self): |
| 297 | "Test ArrayZ length constructor, negative" |