Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
8
namespace 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
setFallback
Method · 0.80
unset
Method · 0.80
get
Method · 0.45
set
Method · 0.45
Tested by
no test coverage detected