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