Exemple #1
0
        public void TestMethod6()
        {
            //Arrange
            string str      = "*****@*****.**";
            bool   expected = true;
            //Act
            bool actual = Challenge123.ValidateEmail(str);

            //Assert
            Assert.AreEqual(expected, actual);
        }
Exemple #2
0
        public void TestMethod7()
        {
            //Arrange
            string str      = "hello@email";
            bool   expected = false;
            //Act
            bool actual = Challenge123.ValidateEmail(str);

            //Assert
            Assert.AreEqual(expected, actual);
        }
Exemple #3
0
        public void TestMethod3()
        {
            //Arrange
            string str      = "*****@*****.**";
            bool   expected = true;
            //Act
            bool actual = Challenge123.ValidateEmail(str);

            //Assert
            Assert.AreEqual(expected, actual);
        }