Example #1
0
        public void TestFindSingleChar()
        {
            teststring = "Mysterious";
            testchar   = 'y';
            int result = st.CountOccurrences(testchar, teststring);

            Assert.AreEqual(1, result);
        }