Test Farray copy constructor
(self)
| 31 | self.assertTrue(isinstance(self.array, Farray.Farray)) |
| 32 | |
| 33 | def testConstructor2(self): |
| 34 | "Test Farray copy constructor" |
| 35 | for i in range(self.nrows): |
| 36 | for j in range(self.ncols): |
| 37 | self.array[i, j] = i + j |
| 38 | arrayCopy = Farray.Farray(self.array) |
| 39 | self.assertTrue(arrayCopy == self.array) |
| 40 | |
| 41 | def testConstructorBad1(self): |
| 42 | "Test Farray size constructor, negative nrows" |