public void RunTest01() { MinimalTree test = new MinimalTree(data); var result = test.Run(); int depth = MaxDepth(result); Assert.IsTrue(depth == 4); Assert.IsTrue(result.Value == 5); }
public void MinimalTreeTest(int[] input, string expectedResult) { var result = MinimalTree.Run(input); Assert.Equal(expectedResult, TestHelpers.ToString(result)); }