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

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

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

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