public void BinarySearchTree_DeleteRootKey_ReturnsTrue() { var tree = new Solution.BinarySearchTree(); tree.Insert(5); tree.Delete(5).Should().BeTrue(); }
public void BinarySearchTree_Delete_MissingKey_ReturnsFalse() { var tree = new Solution.BinarySearchTree(); tree.Delete(5).Should().BeFalse(); }