Exemplo n.º 1
0
        public void StringStringCleanUpFuntionality_RemoveEverythingAfter_TEST()
        {
            StringCleanUpFuntionality SCF_TEST = new StringCleanUpFuntionality();
            string testString  = "milk or bacon";
            string RemoveStrat = "or";

            string Expected = "milk ";
            string result   = SCF_TEST.RemoveEverythingAfter(testString, RemoveStrat);

            Assert.AreEqual(Expected, result);
        }