Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Test
- public void whiteplayershouldbewinner()
- {
- game.move(6, 0, 5, 0);
- game.move(1,0,2,1);
- game.move(5,0,4,0);
- game.move(0,0,1,0);
- game.move(4,0,3,0);
- game.move(2,1,3,1);
- game.move(3,0,2,0);
- game.move(1,0,2,1);
- game.move(2,0,1,0);
- game.move(0,5, 1, 5);
- game.move(1,0,0,0);
- assertEquals("white Player Wins", BreakthroughImpl.PieceType.WHITE, game.getWinner());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement