Test Flyweight Source

Functions

TEST(FlyweightPatternTest, FlyweightCreationAndReuse)

Test the creation and reuse of Flyweight objects in the FlyweightFactory.

TEST(FlyweightPatternTest, FlyweightOperation)

Test Flyweight operation with both intrinsic and extrinsic states.

TEST(FlyweightPatternTest, ListFlyweights)

Test listing of Flyweights in the factory.