| 25 | } |
| 26 | |
| 27 | GeoJsonObject parseGeoJsonObject(const std::string& json) { |
| 28 | Result<GeoJsonDocument> doc = |
| 29 | GeoJsonDocument::fromGeoJson(stringToBytes(json)); |
| 30 | CHECK(!doc.errors.hasErrors()); |
| 31 | REQUIRE(doc.value); |
| 32 | return doc.value->rootObject; |
| 33 | } |
| 34 | |
| 35 | template <typename T> |
| 36 | bool operator==(const std::vector<T>& vectorA, const std::vector<T>& vectorB) { |
no test coverage detected