Exemplo n.º 1
0
 @Test
 public void testAddMultipleBet() {
   betting.startRound();
   for (Player player : players) {
     try {
       betting.placeBet(player, 300d);
     } catch (BettingException be) {
       System.out.println(be);
     }
   }
   betting.printStatus();
 }
Exemplo n.º 2
0
 @Test
 public void testAddBet() {
   betting.startRound();
   betting.placeBet(players.get(4), 200d);
   betting.printStatus();
 }