def test_single_position2(self): a = single_position(1,10) #test for number of trials equal to 10 and there are 1000 positions each for $1 self.assertEquals(a.shape,(10,)) #confirming the returned array is the correct shape
def test_single_position1(self): a = single_position(1000,10) #test for number of trials equal to 10 and there is a single position of $1000 self.assertEquals(a.shape,(10,)) #confirming the returned array is the correct shape