diff --git a/ICD.Common.Utils.Tests/Collections/PriorityQueueTest.cs b/ICD.Common.Utils.Tests/Collections/PriorityQueueTest.cs index b44608f..4447100 100644 --- a/ICD.Common.Utils.Tests/Collections/PriorityQueueTest.cs +++ b/ICD.Common.Utils.Tests/Collections/PriorityQueueTest.cs @@ -133,8 +133,8 @@ namespace ICD.Common.Utils.Tests.Collections }; Assert.AreEqual(1, dequeue[0]); - Assert.AreEqual(4, dequeue[1]); - Assert.AreEqual(3, dequeue[2]); + Assert.AreEqual(3, dequeue[1]); + Assert.AreEqual(4, dequeue[2]); } [Test] diff --git a/ICD.Common.Utils/Collections/PriorityQueue.cs b/ICD.Common.Utils/Collections/PriorityQueue.cs index 2cfa98d..34ab00d 100644 --- a/ICD.Common.Utils/Collections/PriorityQueue.cs +++ b/ICD.Common.Utils/Collections/PriorityQueue.cs @@ -93,8 +93,8 @@ namespace ICD.Common.Utils.Collections /// /// 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. - /// This is useful for reducing duplication, or replacing items with something more pertinant. + /// Appends the given item at the end of the given priority level. + /// This is useful for reducing duplication, or replacing items with something more pertinent. /// /// /// @@ -109,8 +109,8 @@ namespace ICD.Common.Utils.Collections /// /// 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. - /// This is useful for reducing duplication, or replacing items with something more pertinant. + /// Appends the given item at the end of the given priority level. + /// This is useful for reducing duplication, or replacing items with something more pertinent. /// /// ///