Beispiel #1
0
  /** Test method for {@link Poker.Request#getPlayerResult()}. */
  @Test
  public void testGetPlayerResult() {
    int playerResultToGet = 110;
    r1.setResult(playerResultToGet);

    assertEquals("Wrong value returned", 110, r1.getPlayerResult());
  }
Beispiel #2
0
 /** Test method for {@link Poker.Request#getDealerResult()}. */
 @Test
 public void testGetDealerResult() {
   int dealerResultToGet = 500;
   r1.setDealerResult(dealerResultToGet);
   assertEquals("Wrong value returned", 500, r1.getDealerResult());
 }
Beispiel #3
0
 /** Test method for {@link Poker.Request#getRequestType()}. */
 @Test
 public void testGetRequestType() {
   assertEquals("Wrong value returned", "Start", r1.getRequestType());
 }