コード例 #1
0
        public void StringStringCleanUpFuntionality_RemoveInBetween_TEST()
        {
            StringCleanUpFuntionality SCF_TEST = new StringCleanUpFuntionality();
            string testString = "hi this is (not) a test";
            char   a          = '(';
            char   b          = ')';

            string Expected = "hi this is  a test";
            string result   = SCF_TEST.RemoveInBetween(testString, a, b);

            Assert.AreEqual(Expected, result);
        }