Example #1
0
        public void TestGetChild()
        {
            var t = new DictionaryNode();

            //test null return
            Assert.IsNull(t.GetChild('a'));

            Assert.IsTrue(t.AddChild('a'));
            Assert.IsNotNull(t.GetChild('a'));
        }