def test_low_payout(self): config = Configuration(base_bet=1, payout=1.5) self.assertEquals( config.calc_roll_under_value(), 66.0, "Roll under value incorrectly calculated with low" " payout of 1.5")
def test_mid_payout(self): config = Configuration(base_bet=1, payout=2) self.assertEquals( config.calc_roll_under_value(), 49.5, "Roll under value incorrectly calculated with medium" " payout of 2")
def test_high_payout(self): config = Configuration(base_bet=1, payout=3) self.assertEquals( config.calc_roll_under_value(), 33.0, "Roll under value incorrectly calculated with high" " payout of 3")