Esempio n. 1
0
        public void ObjectNodesAreNotConstantIfTheyContainANonConstantElement()
        {
            subject.AddDefaultElement(new StringNode(SourcePosition.NIL, "foo"), new IntNode(SourcePosition.NIL, 42));
            subject.AddDefaultElement(new StringNode(SourcePosition.NIL, "bar"), new IdentNode(SourcePosition.NIL, "foo"));

            Assert.AreEqual(subject.IsConstant(), false);
        }