MCPcopy Create free account
hub / github.com/Apress/design-patterns-in-modern-cpp / TEST_F

Function TEST_F

Structural/Adapter/AdapterCodingExercise.cpp:59–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 };
58
59 TEST_F(Evaluate, SimpleTest)
60 {
61 Square sq{ 11 };
62 SquareToRectangleAdapter adapter{ sq };
63 ASSERT_EQ(121, adapter.area());
64 }
65}
66
67int main(int ac, char* av[])

Callers

nothing calls this directly

Calls 1

areaMethod · 0.45

Tested by

no test coverage detected