public void VerifyThatMineFactoryCreatesAProperMineByComparing_LevelTwo() { var factoryMineTwo = MineFactory.Instance().GetMine(MineType.MineTwo); var mineLevelTwo = new MineLevelTwoUpgrade(); Assert.AreEqual(factoryMineTwo.StringRepresentation, mineLevelTwo.StringRepresentation); }
public void CheckIfStringRepresentationMethodWorksReturnsAProperValue_MineLevelTwoUpgrade() { var mineLevelOne = new MineLevelTwoUpgrade(); Assert.AreEqual(mineLevelOne.StringRepresentation, " 2 "); }
public void ValidateThatMinеDetonateMethodFunctions_LevelTwo() { var fieldPositions = new Cell[3, 3]; var currentCoordinates = new Coordinates(2, 2); var testCell = new Cell[1, 2]; var mine = new MineLevelTwoUpgrade(); Assert.AreEqual(mine.Detonate(fieldPositions, currentCoordinates), fieldPositions); }