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