@@ -0,0 +1,895 @@
+%0Afrom games.basic_game.basic_game_engine import BasicGameEngine%0Afrom games.basic_game import basic_agent%0A%0Afrom battleground.game_runner import GameRunner%0A%0A%0Adef test_engine():%0A    bge = BasicGameEngine(num_players=2)%0A    assert len(bge.scores)==2%0A    assert bge.get_current_player()==0%0A    bge.move(%7B%22value%22:200%7D)%0A    assert bge.get_current_player()!=0%0A    assert isinstance(bge.get_state(),dict)%0A%0A%0Adef test_player():%0A    player = basic_agent.BasicAgent()%0A    move = player.move(None)%0A    assert isinstance(move,dict)%0A    assert %22value%22 in move.keys()%0A%0Adef test_game():%0A    players = %5B%5D%0A    for i in range(3):%0A        players.append(basic_agent.BasicAgent())%0A    engine = BasicGameEngine(num_players=3)%0A    runner = GameRunner(engine,players)%0A    scores = runner.run_game()%0A    print(engine.get_state())%0A    assert len(scores)==3%0A    assert all(%5Bx%3E=0 for x in scores%5D)%0A    assert engine.turn %3E 1%0A

test for basic game