public void VerifyThatMineFactoryCreatesAProperMineByComparing_LevelThree() { var factoryMineThree = MineFactory.Instance().GetMine(MineType.MineThree); var mineLevelThree = new MineLevelThreeUpgrade(); Assert.AreEqual(factoryMineThree.StringRepresentation, mineLevelThree.StringRepresentation); }
public void CheckIfStringRepresentationMethodWorksReturnsAProperValue_MineLevelThreeUpgrade() { var mineLevelOne = new MineLevelThreeUpgrade(); Assert.AreEqual(mineLevelOne.StringRepresentation, " 3 "); }
public void ValidateThatMinеDetonateMethodFunctions_LevelThree() { var fieldPositions = new Cell[3, 3]; var currentCoordinates = new Coordinates(2, 2); var testCell = new Cell[1, 2]; var mine = new MineLevelThreeUpgrade(); Assert.AreEqual(mine.Detonate(fieldPositions, currentCoordinates), fieldPositions); }