MCPcopy Create free account
hub / github.com/AshampooSystems/boden / TEST

Function TEST

tests/boden/testValueWithFallback.cpp:10–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8namespace bdn
9{
10 TEST(ValueWithFallback, Empty)
11 {
12 ValueWithFallback<std::string> value;
13 EXPECT_EQ(value.get(), std::string());
14 }
15
16 TEST(ValueWithFallback, fallback)
17 {

Callers

nothing calls this directly

Calls 4

setFallbackMethod · 0.80
unsetMethod · 0.80
getMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected