public void TestFindSingleChar() { teststring = "Mysterious"; testchar = 'y'; int result = st.CountOccurrences(testchar, teststring); Assert.AreEqual(1, result); }
public void TestFindSingleChar() { teststring = "Mysterious"; testchar = 'y'; int result = st.CountOccurrences(testchar, teststring); Assert.AreEqual(1, result); }