def testIntArray(self): intList = [1, 2, 3, 4] self.assertEqual(sample.sumIntArray(intList), 10)
def testIntArray(self): intList = numpy.array([1, 2, 3, 4], dtype='int32') self.assertEqual(sample.sumIntArray(intList), 10)