예제 #1
0
        public void TestChange()
        {
            for (int i = 0; i < 31; i++)
            {
                heap.Insert(i, rand.Next(100));
            }

            heap.Change(1, 0);

            while (!heap.isEmpty())
            {
                TestContext.WriteLine("{0}", heap.Popup());
            }
        }