public void AscendingPriorityQueueGetMinimumValueTest() { AscendingPriorityQueue <int, int> priorityQueue = new AscendingPriorityQueue <int, int>(); priorityQueue.Insert(2, 22); priorityQueue.Insert(1, 11); Assert.AreEqual(2, priorityQueue.Size); Assert.AreEqual(11, priorityQueue.GetMinimumValue()); Assert.AreEqual(2, priorityQueue.Size); }
public void AscendingPriorityQueueGetMinimumValueGuardTest() { AscendingPriorityQueue <int, int> priorityQueue = new AscendingPriorityQueue <int, int>(); var result = priorityQueue.GetMinimumValue(); }