private void Validate <T>(int size, BinaryTreeNode <int> expected) where T : IEquatable <T> { var result = Question_4_2.CreateMinimalBinaryTree(Enumerable.Range(0, size).ToArray()); TreeHelpers.AssertBinaryTreesEqual <int>(expected, result); }
private void Validate <T>(int size, BinaryTreeNode <int> expected) where T : IEquatable <T> { var result = Question_4_2.CreateMinimalBinaryTree(Enumerable.Range(0, size).ToArray()); TreeHelpers.AssertBinaryTreesEqual <int>(expected, result); }