public void BstHasNoGreaterKey_ShouldReturnNull() { Assert.Null(Q02.FindFirstGreaterKey(exampleTree, 999)); }
public void ShouldReturnSmallestNode() { Assert.Equal(2, Q02.FindFirstGreaterKey(exampleTree, 1)); }
public void ShouldReturnGreatestNode() { Assert.Equal(53, Q02.FindFirstGreaterKey(exampleTree, 52)); }
public void Example() { Assert.Equal(29, Q02.FindFirstGreaterKey(exampleTree, 23)); }