public void testRightJustify() { string str = " \t \t abcdef"; StringTheory theory = new StringTheory(" abcdef \t \t "); theory.RightJustify(); Assert.True(str.Equals(theory.ToString()), "rightJustify str doesn't match the comparison string!"); theory.PasteOver(" "); theory.RightJustify(); Assert.True(theory.Length == 6, "rightJustify str length isnt' right"); }