Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChaiScript/ChaiScript
/ add_3
Function
add_3
unittests/compiled_tests.cpp:1307–1310 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1305
1306
1307
const int add_3(const int &i)
1308
{
1309
return i + 3;
1310
}
1311
1312
TEST_CASE(
"Test returning by const non-reference"
)
1313
{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected