예제 #1
0
        public void LookUpExpression2()
        {
            var e = new LookUpExpression(new StringLiteral("123"), new StringLiteral("abc"));

            Assert.IsFalse(e.IsTrivial);
            Assert.AreEqual("\"123\"[\"abc\"]", e.ToString());
        }
예제 #2
0
        public void LookUpExpression1()
        {
            var e = new LookUpExpression(new Literal("a"), new Literal("b"));

            Assert.IsFalse(e.IsTrivial);
            Assert.AreEqual("a[b]", e.ToString());
        }