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

Function ThrowCheckEqual

src/colmap/util/logging_test.cc:46–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44void ThrowCheck(const bool cond) { THROW_CHECK(cond) << "Error!"; }
45
46void ThrowCheckEqual(const int val) { THROW_CHECK_EQ(val, 1) << "Error!"; }
47
48TEST(ExceptionLogging, Nominal) {
49 EXPECT_NO_THROW(ThrowCheck(true));

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected