def test_coin_toss_returns_float(self): result = coin_toss.do_many_times(100, 100) assert type(result) == float assert 2.8 < result < 3.2
def test_coin_toss_final_result(self): result = coin_toss.do_many_times(100, 100) assert 3.0 == round(result, 1)