public void AddItemString()
        {
            //Arrange
            ListCustom <string> testListOne = new ListCustom <string>();

            //Act
            testListOne.Add("Hello");
            testListOne.Add("World");
            //Assert
            Assert.AreEqual("Hello", testListOne[0]);
            Assert.AreEqual("World", testListOne[1]);
        }
        public void AddItemObject()
        {
            //Arrange
            ListCustom <Person> testListOne = new ListCustom <Person>();

            //Act
            testListOne.Add(new Person("1"));
            testListOne.Add(new Person("2"));
            //Assert
            Assert.AreEqual("1", testListOne[0].name);
            Assert.AreEqual("2", testListOne[1].name);
        }
        public void AddItemInt()
        {
            //Arrange
            ListCustom <int> testListOne = new ListCustom <int>();

            //Act
            testListOne.Add(0);
            testListOne.Add(1);
            //Assert
            Assert.AreEqual(0, testListOne[0]);
            Assert.AreEqual(1, testListOne[1]);
        }