public void DeleteMinTest() { //Arrange var bst = new BinarySearchTree<int, string>(); bst.Add(5, "A"); bst.Add(3, "B"); bst.Add(6, "C"); bst.Add(2, "D"); bst.Add(7, "E"); bst.Add(4, "F"); //Act bst.DeleteMin(); var testResult = bst.Min(); //Assert Assert.AreEqual(testResult.Key, 3); }