public void ErrorAppTagOverFlowCheck()
        {
            var lengthStatement1 = new LengthStatement("2323..5690");

            lengthStatement1.AddStatement(new ErrorAppTagStatement("value"));
            Assert.Throws <ArgumentOutOfRangeException>(() => lengthStatement1.AddStatement(new ErrorAppTagStatement("value")));
        }
Beispiel #2
0
 public override void Visit(LengthStatement visitee)
 {
     this.WriteLineWithType(visitee, $"L{visitee.Value}");
 }