def testOneValueArrayNumpyNPVreturnsNPV(self):
     npsy = NumpySciPy()
     array = [500]
     actual = npsy.numpyNPV(array,0.05)
     expected = 500.00
     self.assertEqual(expected,actual)
 def testNumpyNPVreturnsNPV(self):
     npsy = NumpySciPy()
     array = [500,600,522]
     actual = npsy.numpyNPV(array,0.01)
     expected = 1605.77
     self.assertEqual(expected,actual)