From f989e92442a390c756ce6e893a7754b3fa00f424 Mon Sep 17 00:00:00 2001 From: Sailesh Date: Tue, 4 Apr 2017 11:54:27 -0400 Subject: [PATCH] Modify bug in test --- src/Test.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/Test.java b/src/Test.java index e12304d..1938235 100644 --- a/src/Test.java +++ b/src/Test.java @@ -24,10 +24,10 @@ 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", "-"}; @@ -35,13 +35,16 @@ public static void main(String[] args){ 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){