public void FindNode_tree_Found() { var root = new SortedTree <int>(60); root.Add(61); root.Add(59); var result = root.FindNode(59); Assert.AreEqual(59, result.Value); }
public void FindNode_tree_NotFound() { var root = new SortedTree <int>(60); root.Add(61); root.Add(59); var result = root.FindNode(20); Assert.IsNull(result); }