def testNumpySizeArray3_returns_size1(self): npsy = NumpySciPy() emptyArray = [[1],[2],[3]] actual = npsy.numpySize(emptyArray) expected = 3 self.assertEqual(expected, actual)
def testNumpySizeEmptyArray_returns_size0(self): npsy = NumpySciPy() emptyArray = [] actual = npsy.numpySize(emptyArray) expected = 0 self.assertEqual(expected,actual)