Exemplo n.º 1
0
        public void TreeNodeCount()
        {
            TreeNode <string> root = BuildTree();

            TreeTraversal <string> t = new TreeTraversal <string>();
            int res = t.Count(root);

            Assert.AreEqual(8, res);
        }