This commit is contained in:
2015-04-29 09:24:59 +02:00
parent d089eedb19
commit 43e313beb4
3 changed files with 4 additions and 239 deletions

View File

@@ -39,32 +39,4 @@ public class PokerGameTest {
assertEquals("White", winningPlayer.getPlayerName());
}
@Test
public void straight_gives_12() throws Exception {
String hand = "K2S3H4R5R6";
int result = myGame.getScore(hand);
assertEquals(12, result);
}
@Test
public void straight_flush_gives_14() throws Exception {
String hand = "K2K3K4K5K6";
int result = myGame.getScore(hand);
assertEquals(14, result);
}
@Test
@Ignore
public void royal_straight_flush_gives_16() throws Exception {
String hand = "R10RKRDRKRE";
int result = myGame.getScore(hand);
assertEquals(16, result);
}
}