Handles prison (kåk)

This commit is contained in:
2015-04-27 14:25:35 +02:00
parent f733d8f7cc
commit e285e25a34
2 changed files with 31 additions and 7 deletions

View File

@@ -60,4 +60,13 @@ public class PokerGameTest {
assertEquals(7, result);
}
@Test
public void prison_gives_9() throws Exception {
String hand = "S2K2R2H7S7";
int result = myGame.getScore(hand);
assertEquals(9, result);
}
}