Beispiel #1
0
        public void RemoveMinimumTestUsing_DCT8()
        {
            BinaryHeap <int, int> heap = BinaryHeapFactory.ExampleHeapFromTopologicalSortOfDCT8();

            heap.RemoveMinimum();
            heap.AssertInvariants();
        }
Beispiel #2
0
        public void UpdateTestUsing_DCT8()
        {
            BinaryHeap <int, int> heap = BinaryHeapFactory.ExampleHeapFromTopologicalSortOfDCT8();

            heap.Update(1, 320);
            heap.AssertInvariants();
        }