mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-01-11 19:44:55 +00:00
test: Fixing PriorityQueue unit tests
This commit is contained in:
@@ -133,8 +133,8 @@ namespace ICD.Common.Utils.Tests.Collections
|
|||||||
};
|
};
|
||||||
|
|
||||||
Assert.AreEqual(1, dequeue[0]);
|
Assert.AreEqual(1, dequeue[0]);
|
||||||
Assert.AreEqual(4, dequeue[1]);
|
Assert.AreEqual(3, dequeue[1]);
|
||||||
Assert.AreEqual(3, dequeue[2]);
|
Assert.AreEqual(4, dequeue[2]);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
|||||||
@@ -106,8 +106,8 @@ namespace ICD.Common.Utils.Collections
|
|||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Removes any items in the queue matching the predicate.
|
/// Removes any items in the queue matching the predicate.
|
||||||
/// Inserts the given item in the position of the first removed item, or at the end of the queue.
|
/// Appends the given item at the end of the given priority level.
|
||||||
/// This is useful for reducing duplication, or replacing items with something more pertinant.
|
/// This is useful for reducing duplication, or replacing items with something more pertinent.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="item"></param>
|
/// <param name="item"></param>
|
||||||
/// <param name="remove"></param>
|
/// <param name="remove"></param>
|
||||||
@@ -122,8 +122,8 @@ namespace ICD.Common.Utils.Collections
|
|||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Removes any items in the queue matching the predicate.
|
/// Removes any items in the queue matching the predicate.
|
||||||
/// Inserts the given item in the position of the first removed item, or at the end of the queue.
|
/// Appends the given item at the end of the given priority level.
|
||||||
/// This is useful for reducing duplication, or replacing items with something more pertinant.
|
/// This is useful for reducing duplication, or replacing items with something more pertinent.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="item"></param>
|
/// <param name="item"></param>
|
||||||
/// <param name="remove"></param>
|
/// <param name="remove"></param>
|
||||||
|
|||||||
Reference in New Issue
Block a user