示例#1
0
        public void oneTreeNode()
        {
            int[] dataArray = new int[] { 5 };

            BinaryTreeManager btm      = new BinaryTreeManager();
            TreeNode          rootNode = btm.ConstructMaximumBinaryTree(dataArray);

            Assert.AreEqual(5, rootNode.val);
        }