Beispiel #1
0
        public void IterateList()
        {
            //Arrange
            CustomListClass <string> list = new CustomListClass <string>()
            {
                "Friday", "Saturday", "Sunday"
            };
            int    target = 3;
            string result;

            //Act
            result = IEnumerator list.GetEnumerator();

            //Assert
            Assert.AreEqual(target, result);
        }