MCPcopy Create free account
hub / github.com/AGenUI/AGenUI / TEST

Function TEST

tests/cpp/function_call/functioncall_resolution_test.cpp:13–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11// ============================================================================
12
13TEST(FunctionCallResolutionCreate, Success_BoolValue) {
14 auto r = FunctionCallResolution::createSuccess(true);
15 EXPECT_EQ(r.getStatus(), FunctionCallStatus::Success);
16 EXPECT_EQ(r.getValue(), true);
17 EXPECT_TRUE(r.getError().empty());
18}
19
20TEST(FunctionCallResolutionCreate, Success_StringValue) {
21 auto r = FunctionCallResolution::createSuccess("hello");

Callers

nothing calls this directly

Calls 7

getStatusMethod · 0.80
getValueMethod · 0.80
emptyMethod · 0.80
containsMethod · 0.80
isAsyncMethod · 0.80
isCompletedMethod · 0.80
toJsonMethod · 0.45

Tested by

no test coverage detected