public void TestThatEnvironmentInitializes() { var target = new Environments("shine", null); Assert.IsNotNull(target); }
public void TestThatEnvironmentHasWeatherAbility() { Effect blah = new Effect("blah", 1, 0.0, true, null); var target = new Environments("shine", blah); Assert.AreEqual(target.getWeatherAbility(), blah); }
public void TestThatEnvironmentHasWeatherName() { var target = new Environments("shine", null); Assert.AreEqual(target.getEnvName(), "shine"); }
public void TestThatGameBoardHasEnvironment() { Environments env = new Environments("shine", null); var target = new GameBoard(null, null, null, null, env); Assert.AreEqual(target.getEnvironment(), env); }