public void RemoveNonExistentElementInObjectArray()
        {
            var data = new int[] { 1, 2, 3, 4, 5, 6, 0 };
            int elementToRemove = 7;

            var array = new ArrayClass<int>(data, 6);
            array.RemoveAt(elementToRemove);
            var count = array.GetCount();

            Assert.AreEqual(6, count);
        }
        public void RemoveElementFromOutOfBoundIndexInObjectArray()
        {
            var data = new int[] { 7, 6, 5, 4, 3, 2, 1 };

            var array = new ArrayClass<int>(data, 7);
            array.RemoveAt(8);
            var count = array.GetCount();

            Assert.AreEqual(7, count);
        }