Moved HandTest to match application package structure.
This commit is contained in:
parent
f4c05a9e2f
commit
0592fbab86
@ -1,10 +1,15 @@
|
||||
package uk.co.neviyn.pokergame.model;
|
||||
package game;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import uk.co.neviyn.pokergame.game.Hand;
|
||||
import uk.co.neviyn.pokergame.game.IDeck;
|
||||
import uk.co.neviyn.pokergame.model.Card;
|
||||
import uk.co.neviyn.pokergame.model.Result;
|
||||
import uk.co.neviyn.pokergame.model.Suit;
|
||||
import uk.co.neviyn.pokergame.model.Value;
|
||||
|
||||
import java.util.Stack;
|
||||
|
||||
@ -27,7 +32,7 @@ public class HandTest {
|
||||
deck.addCard(new Card(Suit.CLUBS, Value.KING));
|
||||
deck.addCard(new Card(Suit.CLUBS, Value.ACE));
|
||||
Hand hand = new Hand(deck);
|
||||
assertEquals(Result.ROYAL_STRAIGHT_FLUSH, hand.checkForWin());
|
||||
Assert.assertEquals(Result.ROYAL_STRAIGHT_FLUSH, hand.checkForWin());
|
||||
}
|
||||
|
||||
@Test
|
Loading…
Reference in New Issue
Block a user