public void DeleteEverySecond_inputNumberOfQueenNULL() { // Arrange // var input = null; // Act. IsBeatQueen.DoTaskTest(null); // Assert // var expected = 0; }
public void DeleteEverySecond_inputNumberOfQueenZero() { // Arrange var input = "0"; // Act. IsBeatQueen.DoTaskTest(input); // Assert // var expected = 0; }
public void DeleteEverySecond_inputYMoreThanEight() { // Arrange var inputN = "1"; var inputCoordinates = new[] { "4", "14" }; // Act. IsBeatQueen.DoTaskTest(inputN, inputCoordinates); // Assert // var expected = 0; }
public void DeleteEverySecond_inputXNegative() { // Arrange var inputN = "1"; var inputCoordinates = new[] { "-1", "2" }; // Act. IsBeatQueen.DoTaskTest(inputN, inputCoordinates); // Assert // var expected = 0; }
public void DeleteEverySecond_inputXCoordinateEmpty() { // Arrange var inputN = "2"; var inputCoordinates = new[] { "", "1", "3", "4" }; // Act. IsBeatQueen.DoTaskTest(inputN, inputCoordinates); // Assert // var expected = 0; }
public void DeleteEverySecond_inputYCoordinateNULL() { // Arrange var inputN = "2"; var inputCoordinates = new[] { "1", null, "2", "3" }; // Act. IsBeatQueen.DoTaskTest(inputN, inputCoordinates); // Assert // var expected = 0; }
public void DeleteEverySecond_inputForAnswerNo() { // Arrange var inputN = "2"; var inputCoordinates = new[] { "1", "1", "4", "3" }; // Act. var actual = IsBeatQueen.DoTaskTest(inputN, inputCoordinates); // Assert var expected = "NO"; Assert.AreEqual(expected, actual); }
public void DeleteEverySecond_inputOneLineY() { // Arrange var inputN = "2"; var inputCoordinates = new[] { "1", "1", "2", "1" }; // Act. var actual = IsBeatQueen.DoTaskTest(inputN, inputCoordinates); // Assert var expected = "YES"; Assert.AreEqual(expected, actual); }