コード例 #1
0
        public void Test5()
        {
            int[] a = new int[] { 1, 1, 2, 2, 3, 3 };
            BuildTree.BinaryTreeNode root = BuildTree.Solve(a);

            Assert.IsTrue(TestTree(root, a));
        }
コード例 #2
0
        public void Test3()
        {
            int[] a = null;
            BuildTree.BinaryTreeNode root = BuildTree.Solve(a);

            Assert.IsNull(root);
        }