Uniformization

This commit is contained in:
Alex Macocian
2019-04-22 15:25:37 +02:00
parent a213d4225d
commit 8bd96fa35f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ namespace SystemExtensions.Collections
/// Removes the item at the root. Throws exception if there are no items in the heap.
/// </summary>
/// <returns>Value removed.</returns>
public T RemoveMin()
public T RemoveMinimum()
{
if (count == 0)
{
@@ -55,7 +55,7 @@ namespace SystemExtensions.Collections
{
if (Count > 0)
{
return binaryHeap.RemoveMin();
return binaryHeap.RemoveMinimum();
}
else
{
@@ -78,7 +78,7 @@ namespace SystemExtensions.Collections.Tests
{
Assert.Fail();
}
System.Diagnostics.Debug.WriteLine(binaryHeap.RemoveMin());
System.Diagnostics.Debug.WriteLine(binaryHeap.RemoveMinimum());
tries--;
}
}