public void TestMethod3() { //Arrange string str = "(098) 123 4567"; bool expected = false; //Act bool actual = Challenge107.IsValidPhoneNumber(str); //Assert Assert.AreEqual(actual, expected); }
public void TestMethod7() { //Arrange string str = "abc(123)456-7890abc"; bool expected = false; //Act bool actual = Challenge107.IsValidPhoneNumber(str); //Assert Assert.AreEqual(actual, expected); }
public void TestMethod14() { //Arrange string str = "(519) 505-6498"; bool expected = true; //Act bool actual = Challenge107.IsValidPhoneNumber(str); //Assert Assert.AreEqual(actual, expected); }