| 11 | // ============================================================================ |
| 12 | |
| 13 | TEST(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 | |
| 20 | TEST(FunctionCallResolutionCreate, Success_StringValue) { |
| 21 | auto r = FunctionCallResolution::createSuccess("hello"); |