Exemplo n.º 1
0
        public void StringStringCleanUpFuntionality_RemoveSubstring_TEST()
        {
            StringCleanUpFuntionality SCF_TEST = new StringCleanUpFuntionality();
            string testString   = "This is not a test";
            string RemoveString = "not";

            string Expected = "This is a test";
            string result   = SCF_TEST.RemoveSubstring(testString, RemoveString);

            Assert.AreEqual(Expected, result);
        }