public void testRemoveCtlChars() { string s = "A\x0009B _~\\1\x000A\x000D2\x0001Cv\x001Aend"; string result = VistaUtils.removeCtlChars(s); Assert.AreEqual("A\tB _~\\1\n\r2Cvend", result); }
public void testRemoveCtlChars_Empty() { string result = VistaUtils.removeCtlChars(""); Assert.AreEqual("", result); }
public void testRemoveCtlChars_Null() { string result = VistaUtils.removeCtlChars(null); Assert.AreEqual("", result); }