src/apps/testapps/testPolygonToCellsReported.c [60:106]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                                      polygonToCellsOut2));
            int64_t actualNumIndexes2 =
                countNonNullIndexes(polygonToCellsOut2, polygonToCellsSize2);

            int64_t expectedTotalWorld;
            t_assertSuccess(H3_EXPORT(getNumCells)(res, &expectedTotalWorld));
            t_assert(actualNumIndexes + actualNumIndexes2 == expectedTotalWorld,
                     "got expected polygonToCells size (entire world)");

            // Sets should be disjoint
            for (int i = 0; i < polygonToCellsSize; i++) {
                if (polygonToCellsOut[i] == 0) continue;

                bool found = false;
                for (int j = 0; j < polygonToCellsSize2; j++) {
                    if (polygonToCellsOut[i] == polygonToCellsOut2[j]) {
                        found = true;
                        break;
                    }
                }
                t_assert(
                    !found,
                    "Index found more than once when polygonToCellsing the "
                    "entire world");
            }

            free(polygonToCellsOut);
            free(polygonToCellsOut2);
        }
    }

    // https://github.com/uber/h3-js/issues/67
    TEST(h3js_67) {
        double east = H3_EXPORT(degsToRads)(-56.25);
        double north = H3_EXPORT(degsToRads)(-33.13755119234615);
        double south = H3_EXPORT(degsToRads)(-34.30714385628804);
        double west = H3_EXPORT(degsToRads)(-57.65625);

        LatLng testVerts[] = {
            {north, east}, {south, east}, {south, west}, {north, west}};
        GeoLoop testGeoLoop = {.numVerts = 4, .verts = testVerts};
        GeoPolygon testPolygon;
        testPolygon.geoloop = testGeoLoop;
        testPolygon.numHoles = 0;

        int res = 7;
        int64_t numHexagons;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/apps/testapps/testPolygonToCellsReportedExperimental.c [65:111]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                polygonToCellsOut2));
            int64_t actualNumIndexes2 =
                countNonNullIndexes(polygonToCellsOut2, polygonToCellsSize2);

            int64_t expectedTotalWorld;
            t_assertSuccess(H3_EXPORT(getNumCells)(res, &expectedTotalWorld));
            t_assert(actualNumIndexes + actualNumIndexes2 == expectedTotalWorld,
                     "got expected polygonToCells size (entire world)");

            // Sets should be disjoint
            for (int i = 0; i < polygonToCellsSize; i++) {
                if (polygonToCellsOut[i] == 0) continue;

                bool found = false;
                for (int j = 0; j < polygonToCellsSize2; j++) {
                    if (polygonToCellsOut[i] == polygonToCellsOut2[j]) {
                        found = true;
                        break;
                    }
                }
                t_assert(
                    !found,
                    "Index found more than once when polygonToCellsing the "
                    "entire world");
            }

            free(polygonToCellsOut);
            free(polygonToCellsOut2);
        }
    }

    // https://github.com/uber/h3-js/issues/67
    TEST(h3js_67) {
        double east = H3_EXPORT(degsToRads)(-56.25);
        double north = H3_EXPORT(degsToRads)(-33.13755119234615);
        double south = H3_EXPORT(degsToRads)(-34.30714385628804);
        double west = H3_EXPORT(degsToRads)(-57.65625);

        LatLng testVerts[] = {
            {north, east}, {south, east}, {south, west}, {north, west}};
        GeoLoop testGeoLoop = {.numVerts = 4, .verts = testVerts};
        GeoPolygon testPolygon;
        testPolygon.geoloop = testGeoLoop;
        testPolygon.numHoles = 0;

        int res = 7;
        int64_t numHexagons;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



