public class QuickAndDirtyFGGTester { public static void main(String[] args) { FGGModel fgg = new FGGModel(); ///////////////////////////////////////////////////////////////// fgg.reset(); System.out.println("Start of Game1"); //Move the fox fgg.move(0); if(fgg.lostGame()==true) { System.out.println("Goose Eats Grain, PASS"); } else { System.out.println("FAIL first test, Goose should eat grain"); } System.out.println("Start of Game2"); ///////////////////////////////////////////////////////////////// //Test deuce fgg.reset(); fgg.move(2); if(fgg.lostGame()== true) { System.out.println("Fox Eats Goose, PASS"); } else { System.out.println("FAIL second test"); } System.out.println("Start of Game3"); ///////////////////////////////////////////////////////////////// //Test tres fgg.reset(); fgg.move(1);//goose fgg.move(3);//boat back fgg.move(0);//fox l to r fgg.move(1);//goose r to l fgg.move(2); //grain l to r fgg.move(3);//boat left fgg.move(1);//Bring goose l to r to win if(fgg.lostGame()== true) { System.out.println("FAIL third test"); } if(fgg.wonGame()== true) { System.out.println("All on right, PASS"); } else { System.out.println("FAIL third test"); } System.out.println("Start of Game4"); ///////////////////////////////////////////////////////////////// //Test quatro fgg.reset(); fgg.move(1);//goose right f gr || goose fgg.move(3);//boat back fgg.move(0);//fox l to r gr || goose fox fgg.move(3);//boat back if(fgg.lostGame()== true) { System.out.println("Fox eats goose on right, PASS"); } else { System.out.println("FAIL fourth test"); } } }