Test Array1 copy constructor
(self)
| 37 | self.assertTrue(isinstance(aa, Array.Array1)) |
| 38 | |
| 39 | def testConstructor3(self): |
| 40 | "Test Array1 copy constructor" |
| 41 | for i in range(self.array1.length()): |
| 42 | self.array1[i] = i |
| 43 | arrayCopy = Array.Array1(self.array1) |
| 44 | self.assertTrue(arrayCopy == self.array1) |
| 45 | |
| 46 | def testConstructorBad(self): |
| 47 | "Test Array1 length constructor, negative" |