src/apps/testapps/testCellToLocalIjExhaustive.c [178:192]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    int r = H3_GET_RESOLUTION(h3);
    t_assert(r <= 5, "resolution supported by test function (gridDisk)");
    int maxK = MAX_DISTANCES[r];

    int64_t sz;
    t_assertSuccess(H3_EXPORT(maxGridDiskSize)(maxK, &sz));
    H3Index *neighbors = calloc(sz, sizeof(H3Index));
    int *distances = calloc(sz, sizeof(int));

    t_assertSuccess(
        H3_EXPORT(gridDiskDistances)(h3, maxK, neighbors, distances));

    for (int64_t i = 0; i < sz; i++) {
        if (neighbors[i] == 0) {
            continue;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/apps/testapps/testGridDistanceExhaustive.c [44:58]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    int r = H3_GET_RESOLUTION(h3);
    t_assert(r <= 5, "resolution supported by test function (gridDisk)");
    int maxK = MAX_DISTANCES[r];

    int64_t sz;
    t_assertSuccess(H3_EXPORT(maxGridDiskSize)(maxK, &sz));
    H3Index *neighbors = calloc(sz, sizeof(H3Index));
    int *distances = calloc(sz, sizeof(int));

    t_assertSuccess(
        H3_EXPORT(gridDiskDistances)(h3, maxK, neighbors, distances));

    for (int64_t i = 0; i < sz; i++) {
        if (neighbors[i] == 0) {
            continue;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



