/// <summary>
        /// Test removing an item from an empty array
        /// </summary>
        static void TestRemoveEmptyDynamicArray()
        {
            OrderedIntDynamicArray array = new OrderedIntDynamicArray();

            System.Console.Write("TestRemoveEmptyDynamicArray: ");
            if (!array.Remove(42))
            {
                System.Console.WriteLine("Passed");
            }
            else
            {
                System.Console.WriteLine("FAILED!!! Expected: false Actual: true");
            }
        }
        /// <summary>
        /// Test removing an item in the interior of the array
        /// </summary>
        static void TestRemoveItemInteriorOfDynamicArray()
        {
            OrderedIntDynamicArray array = new OrderedIntDynamicArray();

            array.Add(40);
            array.Add(41);
            array.Add(42);
            System.Console.Write("TestRemoveItemInteriorOfDynamicArray: ");
            bool   removed     = array.Remove(41);
            String arrayString = array.ToString();

            if (removed &&
                arrayString.Equals("40,42") &&
                array.Count == 2)
            {
                System.Console.WriteLine("Passed");
            }
            else
            {
                System.Console.WriteLine("FAILED!!! Expected: 40,42 Actual: " + arrayString);
            }
        }