Test ceil function with non-array
(self)
| 242 | |
| 243 | # Test (int DIM1, int DIM2, int DIM3, type* INPLACE_ARRAY3) typemap |
| 244 | def testCeilNonArray(self): |
| 245 | "Test ceil function with non-array" |
| 246 | print(self.typeStr, "... ", file=sys.stderr) |
| 247 | ceil = SuperTensor.__dict__[self.typeStr + "Ceil"] |
| 248 | supertensor = np.arange(2 * 2 * 2 * 2, |
| 249 | dtype=self.typeCode).reshape((2, 2, 2, 2)).tolist() |
| 250 | self.assertRaises(TypeError, ceil, supertensor) |
| 251 | |
| 252 | # Test (type ARGOUT_ARRAY3[ANY][ANY][ANY]) typemap |
| 253 | def testLUSplit(self): |