Пример #1
0
        public void TestMethod7()
        {
            //Arrange
            string phrase   = "I just!!! can!!! not!!! believe!!! it!!!";
            string expected = "I just!!! can!!! not!!! believe!!! it!";
            //Act
            string actual = Challenge113.NoYelling(phrase);

            //Assert
            Assert.AreEqual(expected, actual);
        }
Пример #2
0
        public void TestMethod6()
        {
            //Arrange
            string phrase   = "I just cannot believe it.";
            string expected = "I just cannot believe it.";
            //Act
            string actual = Challenge113.NoYelling(phrase);

            //Assert
            Assert.AreEqual(expected, actual);
        }
Пример #3
0
        public void TestMethod8()
        {
            //Arrange
            string phrase   = "That's a ton!! of cheese!!!!";
            string expected = "That's a ton!! of cheese!";
            //Act
            string actual = Challenge113.NoYelling(phrase);

            //Assert
            Assert.AreEqual(expected, actual);
        }
Пример #4
0
        public void TestMethod5()
        {
            //Arrange
            string phrase   = "Oh my goodness!";
            string expected = "Oh my goodness!";
            //Act
            string actual = Challenge113.NoYelling(phrase);

            //Assert
            Assert.AreEqual(expected, actual);
        }
Пример #5
0
        public void TestMethod1()
        {
            //Arrange
            string phrase   = "What went wrong?????????";
            string expected = "What went wrong?";
            //Act
            string actual = Challenge113.NoYelling(phrase);

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