Skip to content

Commit

Permalink
Modify bug in test
Browse files Browse the repository at this point in the history
  • Loading branch information
sas12028 committed Apr 4, 2017
1 parent 1f29842 commit f989e92
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/Test.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,27 @@ public static void main(String[] args){
String[] b3 = {"-", "-", "-", "b", "-", "b", "-", "b",
"b", "-", "b", "-", "b", "-", "b", "-",
"-", "b", "-", "w", "-", "b", "-", "b",
"-", "-", "w", "-", "w", "-", "-", "-",
"-", "-", "-", "-", "-", "-", "-", "-",
"-", "-", "b", "-", "w", "-", "-", "-",
"-", "-", "-", "b", "-", "-", "-", "-",
"w", "-", "b", "-", "w", "-", "w", "-",
"-", "-", "-", "-", "-", "w", "-", "w",
"-", "w", "-", "-", "-", "w", "-", "w",
"-", "-", "w", "-", "w", "-", "w", "-"};


CheckersGameState s1 = new CheckersGameState3(1, b);
CheckersGameState s2 = new CheckersGameState3(2, b);
CheckersGameState s3 = new CheckersGameState3(1, b2);
CheckersGameState s4 = new CheckersGameState3(2, b2);
CheckersGameState s5 = new CheckersGameState3(2, b3);
CheckersGameState s5 = new CheckersGameState3(1, b3);
CheckersGameState s6 = new CheckersGameState3(2, b3);
printMoves(s1);
printMoves(s2);
printMoves(s3);
printMoves(s4);
printMoves(s5);
s5.result(s5.actions().get(0)).printState();
printMoves(s6);
s6.result(s6.actions().get(0)).printState();
}

static void printMoves(CheckersGameState s){
Expand Down

0 comments on commit f989e92

Please sign in to comment.