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

            Assert.AreEqual(2, cs.CorrectOffset(0), "corrected offset is invalid");
        }
Пример #4
0
        public virtual void  TestCharFilter1()
        {
            CharStream cs = new CharFilter1(CharReader.Get(new System.IO.StringReader("")));

            Assert.AreEqual(1, cs.CorrectOffset(0), "corrected offset is invalid");
        }