MCPcopy Create free account
hub / github.com/chronoxor/CppBenchmark / VirtualFixture

Method VirtualFixture

examples/virtual.cpp:40–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 std::array<TesterBase*, 1000> testers;
39
40 VirtualFixture()
41 {
42 for (size_t i = 0; i < testers.size(); ++i)
43 testers[i] = (i % 2) ? new TesterBase() : new TesterDerived();
44 }
45
46 ~VirtualFixture()
47 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected