MCPcopy Create free account
hub / github.com/boostorg/leaf / test1

Function test1

test/github_issue53_test.cpp:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21};
22
23leaf::result<int> test1( int a )
24{
25 if( a == 1 )
26 return leaf::new_error(ErrorCode::E_GENERIC_UNEXPECTED);
27 return 32;
28}
29
30leaf::result<float> test2(int a)
31{

Callers 1

test2Function · 0.70

Calls 1

new_errorFunction · 0.85

Tested by

no test coverage detected