MCPcopy Create free account
hub / github.com/apache/fory / compute_ok

Function compute_ok

cpp/fory/util/result_test.cc:234–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234Result<int, Error> compute_ok() { return 42; }
235
236Result<int, Error> compute_error() {
237 return Unexpected(Error::invalid("computation failed"));

Callers 1

TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected