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