def setUp(self):
     self.table = Table()
     self.wheel = Wheel()
     BinBuilder().build_bins(self.wheel)
     self.test_simulator = Simulator(
         Game(self.wheel, self.table),
         Passenger57(self.table, self.wheel),
     )
Ejemplo n.º 2
0
 def setUp(self):
     self.table = Table()
     self.wheel = Wheel()
     BinBuilder().build_bins(self.wheel)
     self.the_player = SevenReds(self.table, self.wheel)
Ejemplo n.º 3
0
 def test_can_create_bin_builder(self):
     self.assertIsNotNone(BinBuilder())
Ejemplo n.º 4
0
 def setUp(self):
     self.wheel = Wheel()
     BinBuilder().build_bins(self.wheel)
Ejemplo n.º 5
0
 def setUp(self):
     self.test_wheel = Wheel()
     BinBuilder().build_bins(self.test_wheel)
     self.test_wheel.rng = Mock()
     self.test_wheel.rng.choice = Mock(return_value=TEST_BIN)
Ejemplo n.º 6
0
 def setUp(self):
     table = Table()
     wheel = Wheel()
     BinBuilder().build_bins(wheel)
     self.game = Game(wheel, table)
     self.player = Passenger57(table, wheel)
 def setUp(self):
     self.table = Table()
     self.wheel = Wheel()
     BinBuilder().build_bins(self.wheel)
     self.player = Player(self.table, self.wheel)
 def setUp(self):
     self.table = Table()
     self.wheel = Wheel()
     BinBuilder().build_bins(self.wheel)
     self.the_player = Martingale(self.table, self.wheel)