MCPcopy Create free account
hub / github.com/Project-OSRM/osrm-backend / compare

Function compare

include/util/json_deep_compare.hpp:150–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148};
149
150inline bool compare(const Value &reference, const Value &result, std::string &reason)
151{
152 return std::visit(Comparator(reason, "reference", "result"), reference, result);
153}
154} // namespace osrm::util::json
155
156#endif

Callers 1

compareJSONFunction · 0.85

Calls 1

ComparatorClass · 0.85

Tested by

no test coverage detected