This commit is contained in:
crille committed 2015-04-23 09:07:08 +02:00
1 parent 48c21b47dc
commit a54694bcbf
2 files changed
+31

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
package session3;
public class PokerGame {
public int getHand() {
return 5;
}
}
@@ -0,0 +1,24 @@
package session3;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class PokerGameTest {
// FIXME give_me_five
// FIXME draw_one_card
// FIXME draw_five_cards
// FIXME draw_one_hand
// FIXME compare_two_hands
// FIXME find_highest_score
PokerGame myGame = new PokerGame();
@Test
public void give_me_five() throws Exception {
int result = myGame.getHand();
assertEquals(5, result);
}
}