ext/h3/src/src/apps/testapps/testPolyfill.c in h3-3.6.0 vs ext/h3/src/src/apps/testapps/testPolyfill.c in h3-3.6.1
- old
+ new
@@ -62,16 +62,16 @@
emptyGeoPolygon.geofence = emptyGeofence;
emptyGeoPolygon.numHoles = 0;
TEST(maxPolyfillSize) {
int numHexagons = H3_EXPORT(maxPolyfillSize)(&sfGeoPolygon, 9);
- t_assert(numHexagons == 3169, "got expected max polyfill size");
+ t_assert(numHexagons == 3457, "got expected max polyfill size");
numHexagons = H3_EXPORT(maxPolyfillSize)(&holeGeoPolygon, 9);
- t_assert(numHexagons == 3169, "got expected max polyfill size (hole)");
+ t_assert(numHexagons == 3457, "got expected max polyfill size (hole)");
numHexagons = H3_EXPORT(maxPolyfillSize)(&emptyGeoPolygon, 9);
- t_assert(numHexagons == 1, "got expected max polyfill size (empty)");
+ t_assert(numHexagons == 3, "got expected max polyfill size (empty)");
}
TEST(polyfill) {
int numHexagons = H3_EXPORT(maxPolyfillSize)(&sfGeoPolygon, 9);
H3Index* hexagons = calloc(numHexagons, sizeof(H3Index));