public void testTRex() { Start testGame = new Start(); testGame.beginGame(); InsulaPrimus testEnvo = new InsulaPrimus(); Card testRex = new Card("Images\\Environment\\InsulaPrimus\\2-EnragedTRex.png"); Assert.NotNull(testRex); testEnvo.EnragedTRex(testRex); testEnvo.addMinion(new EnragedTRex()); Assert.AreEqual(GameEngine.getEnvironment().getMinions().ToString(), testEnvo.getMinions().ToString()); }
public void testPtero() { Start testGame = new Start(); testGame.beginGame(); InsulaPrimus testEnvo = new InsulaPrimus(); Card testPtero = new Card("Images\\Environment\\InsulaPrimus\\2-PterodactylThief.png"); Assert.NotNull(testPtero); testEnvo.PterodactylThief(testPtero); testEnvo.addMinion(new PterodactylThief()); Assert.AreEqual(GameEngine.getEnvironment().getMinions().ToString(), testEnvo.getMinions().ToString()); }
public void testVelo() { Start testGame = new Start(); testGame.beginGame(); InsulaPrimus testEnvo = new InsulaPrimus(); Card testVelo = new Card("Images\\Environment\\InsulaPrimus\\3-VelociraptorPack.png"); Assert.NotNull(testVelo); testEnvo.VelociraptorPack(testVelo); testEnvo.addMinion(new VelociraptorPack()); Assert.AreEqual(GameEngine.getEnvironment().getMinions().ToString(), testEnvo.getMinions().ToString()); }