public virtual void TestCharFilter11() { CharFilter cs = new CharFilter1(new CharFilter1(new StringReader(""))); Assert.AreEqual(2, cs.CorrectOffset(0), "corrected offset is invalid"); }
public virtual void TestCharFilter1() { CharStream cs = new CharFilter1(CharReader.Get(new System.IO.StringReader(""))); Assert.AreEqual(1, cs.CorrectOffset(0), "corrected offset is invalid"); }