def test_one_day_return(self):
     '''
     Test that one_day_return() generates the correct sum of returns from 1 day of holding
     '''
     position_1000 = InvestmentPositions(1, 1000)
     self.assertEqual(position_1000.one_day_return(), 0)
Beispiel #2
0
 def test_one_day_return(self):
     '''
     Test that one_day_return() generates the correct sum of returns from 1 day of holding
     '''
     position_1000 = InvestmentPositions(1, 1000)
     self.assertEqual(position_1000.one_day_return(), 0)