Esempio n. 1
0
 def test_is_last_round_true(self):
     engine = Engine()
     engine.last_round = True
     assert engine.is_last_round() is True
Esempio n. 2
0
 def test_is_last_round_restricted(self):
     engine = Engine(total_rounds=1)
     engine.rounds_run = 1
     assert engine.is_last_round() is True
Esempio n. 3
0
 def test_is_last_round_unlimited(self):
     engine = Engine()
     assert engine.is_last_round() is False