*/
public class ClojureGamerTest extends Assert {
@Test
public void testClojureGamer() {
try {
Gamer g = new SampleClojureGamerStub();
assertEquals("SampleClojureGamer", 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();
}
}