Package org.ggp.base.player.gamer.clojure.stubs

Examples of org.ggp.base.player.gamer.clojure.stubs.SampleClojureGamerStub


*/
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();
        }
    }
View Full Code Here

TOP

Related Classes of org.ggp.base.player.gamer.clojure.stubs.SampleClojureGamerStub

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.