예제 #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());
  }
예제 #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());
 }
예제 #3
0
 /** Test method for {@link Poker.Request#getRequestType()}. */
 @Test
 public void testGetRequestType() {
   assertEquals("Wrong value returned", "Start", r1.getRequestType());
 }