*/
public class PythonGamerTest extends Assert {
@Test
public void testPythonGamer() {
try {
Gamer g = new SamplePythonGamerStub();
assertEquals("SamplePythonGamer", g.getName());
Match m = new Match("", -1, 1000, 1000, GameRepository.getDefaultRepository().getGame("ticTacToe"));
g.setMatch(m);
g.setRoleName(GdlPool.getConstant("xplayer"));
g.metaGame(1000);
assertTrue(g.selectMove(1000) != null);
} catch(Exception e) {
e.printStackTrace();
}
}