| 981 | // ============================================================================ |
| 982 | |
| 983 | TEST(FunctionCallResolution, CreateSuccess_StatusIsSuccess) { |
| 984 | auto r = FunctionCallResolution::createSuccess(42); |
| 985 | EXPECT_EQ(r.getStatus(), FunctionCallStatus::Success); |
| 986 | EXPECT_EQ(r.getValue(), 42); |
| 987 | } |
| 988 | |
| 989 | TEST(FunctionCallResolution, CreateError_StatusIsError) { |
| 990 | auto r = FunctionCallResolution::createError("oops"); |
nothing calls this directly
no test coverage detected