public void testTrimLineEnds()
 {
     string str = "abcdef";
     StringTheory theory = new StringTheory("abcdef\n");
     theory.TrimLineEnds();
     Assert.True(str.Equals(theory.ToString()), "failed on unix eol");
     StringTheory theory2 = new StringTheory("abcdef\r\n");
     theory2.TrimLineEnds();
     Assert.True(str.Equals(theory2.ToString()), "failed on pc eol");
     StringTheory theory3 = new StringTheory("abcdef\r");
     theory3.TrimLineEnds();
     Assert.True(str.Equals(theory3.ToString()), "failed on mac eol");
 }