MCPcopy Create free account
hub / github.com/colmap/colmap / TEST

Function TEST

src/colmap/util/timer_test.cc:37–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35namespace {
36
37TEST(Timer, Default) {
38 Timer timer;
39 EXPECT_EQ(timer.ElapsedMicroSeconds(), 0);
40 EXPECT_EQ(timer.ElapsedSeconds(), 0);
41 EXPECT_EQ(timer.ElapsedMinutes(), 0);
42 EXPECT_EQ(timer.ElapsedHours(), 0);
43}
44
45TEST(Timer, Start) {
46 Timer timer;

Callers

nothing calls this directly

Calls 8

ElapsedMicroSecondsMethod · 0.80
ElapsedSecondsMethod · 0.80
ElapsedMinutesMethod · 0.80
ElapsedHoursMethod · 0.80
StartMethod · 0.45
PauseMethod · 0.45
ResumeMethod · 0.45
ResetMethod · 0.45

Tested by

no test coverage detected