Test Iterator Source

Functions

TEST(IteratorPatternTest, IteratorTraversal)

Test the ConcreteIterator’s ability to traverse a collection.

TEST(IteratorPatternTest, AddAndIterate)

Test the ConcreteAggregate’s ability to add and retrieve items via the iterator.

TEST(IteratorPatternTest, EmptyCollection)

Test the behavior of an empty iterator.