public void testEscape() { string str = "a\\\"b\\\\cd\\\\e\\\"f"; StringTheory theory = new StringTheory("a\"b\\cd\\e\"f"); theory.Escape(); Assert.True(str.Equals(theory.ToString()), "str doesn't match the comparison string!"); }