MCPcopy Create free account
hub / github.com/dds-bridge/dds / TEST

Function TEST

library/tests/system/utilities_stats_test.cpp:20–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20TEST(UtilitiesStatsTest, CountersRemainZeroWithoutDefine)
21{
22 ensure_thread();
23 SolverContext ctx;
24 ctx.utilities().util().stats_reset();
25
26 (void)ctx.trans_table();
27 ctx.dispose_trans_table();
28
29 const auto& st = ctx.utilities().util().stats();
30 EXPECT_EQ(0u, st.tt_creates);
31 EXPECT_EQ(0u, st.tt_disposes);
32}

Callers

nothing calls this directly

Calls 6

stats_resetMethod · 0.80
utilMethod · 0.80
utilitiesMethod · 0.80
trans_tableMethod · 0.80
dispose_trans_tableMethod · 0.80
ensure_threadFunction · 0.70

Tested by

no test coverage detected