public void testSingleSpace() { string str = " abc def "; StringTheory theory = new StringTheory(" abc def \t \t "); theory.SingleSpace(); Assert.True(str.Equals(theory.ToString()), "singleSpace str doesn't match the comparison string!"); }