Beispiel #1
0
        public void unsetTest3()
        {
            UserVariable target = new UserVariable();
            target.set("name", null, "unevaluated");
            target.set("name2", null, "unevaluated2");

            target.unset("name");
            Assert.AreEqual(1, target.Definitions.Count());

            foreach(string v in target.Definitions) {
                Assert.AreEqual(v, "name2");
            }
        }