Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
44
void ThrowCheck(const bool cond) { THROW_CHECK(cond) <<
"Error!"
; }
45
46
void ThrowCheckEqual(const int val) { THROW_CHECK_EQ(val, 1) <<
"Error!"
; }
47
48
TEST(ExceptionLogging, Nominal) {
49
EXPECT_NO_THROW(ThrowCheck(true));
Callers
1
TEST
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected