diff --git a/src/test/java/uk/co/neviyn/pokergame/model/HandTest.java b/src/test/java/game/HandTest.java similarity index 96% rename from src/test/java/uk/co/neviyn/pokergame/model/HandTest.java rename to src/test/java/game/HandTest.java index 798777c..695f4da 100644 --- a/src/test/java/uk/co/neviyn/pokergame/model/HandTest.java +++ b/src/test/java/game/HandTest.java @@ -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