Example #1
0
        public void TestMinHeap()
        {
            int[]   input = { 3, 6, 12, 8, 9, 7, 5, 4, 10 };
            MinHeap mh    = new MinHeap(input);

            Assert.IsTrue(mh.Check());
            System.Console.WriteLine(mh);
        }