def test_stock_buy(self): self.assertFalse(stock_buy(20, 5, 2.4, 2.4, 10000, 2000), False)
def test_stock_buy(self): self.assertTrue(stock_buy(20, 10, 3.4, 5.2, 10000, 5000), True)
def test_stock_buy(self): self.assertFalse(stock_buy(20, 10, 2.4, 5.2, 10000, 50000), False)