Package com.tinygo.logic

Examples of com.tinygo.logic.DocumentedGame.pass()


    public void testPass() {
        DocumentedGame game = new DocumentedGame(4);
        try {
            game.play(0, 0);
            game.pass();
            assertEquals(Board.BLACK, game.colorToPlay);
            game.prev();
            assertEquals(Board.WHITE, game.colorToPlay);
            game.next();
            assertEquals(Board.BLACK, game.colorToPlay);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.