public void CharCountWorks() { Assert.AreEqual(2, MHString.CharCount("1,2,3", ','), "t1"); Assert.AreEqual(0, MHString.CharCount("123", ','), "t2"); Assert.AreEqual(3, MHString.CharCount("13933838, 3030337300338, 3 ,23", ','), "t3"); Assert.AreEqual(0, MHString.CharCount("", ','), "t4"); Assert.AreEqual(3, MHString.CharCount("1,,,99", ','), "t5"); }