Example #1
0
 def test_get_kegs_in_range(self):
     local_types = [1]
     game = Game(local_types)
     game.used_numbers = list(range(1, 90))
     game.get_keg()
     assert game.current_keg == 90
Example #2
0
 def test_get_kegs(self):
     local_types = [1]
     game = Game(local_types)
     game.used_numbers = [1, 2, 56, 78, 65, 56, 12, 22, 56]
     assert game.get_keg() not in game.used_numbers