public void Test5() { int[] a = new int[] { 1, 1, 2, 2, 3, 3 }; BuildTree.BinaryTreeNode root = BuildTree.Solve(a); Assert.IsTrue(TestTree(root, a)); }
public void Test3() { int[] a = null; BuildTree.BinaryTreeNode root = BuildTree.Solve(a); Assert.IsNull(root); }