public void TestDeploySpiderBots() { //Arrange oo = new Spiderman_Otto_Octavius(); //Act string defaultBotString = oo.DeploySpiderBots(); oo.BuildSpiderBots(); string afterSpiderBots = oo.DeploySpiderBots(); //Assert Assert.AreEqual("The spider bots are not readyy", defaultBotString); Assert.AreEqual(oo.Name + " throws out some spider bots.", afterSpiderBots); }
public void TestBuildSpiderBots() { //Arrange oo = new Spiderman_Otto_Octavius(); //Act bool defaultSpiderBots = oo.SpiderBots; oo.BuildSpiderBots(); bool afterSpiderBots = oo.SpiderBots; //Assert Assert.AreEqual(false, defaultSpiderBots); Assert.AreEqual(true, afterSpiderBots); }