src/apps/testapps/testCellsToLinkedMultiPolygon.c [81:96]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        int numHexes = ARRAY_SIZE(set);

        t_assertSuccess(
            H3_EXPORT(cellsToLinkedMultiPolygon)(set, numHexes, &polygon));

        t_assert(countLinkedPolygons(&polygon) == 2, "2 polygons added");
        t_assert(countLinkedLoops(&polygon) == 1,
                 "1 loop on the first polygon");
        t_assert(countLinkedCoords(polygon.first) == 6,
                 "All coords for one hex added to first loop");
        t_assert(countLinkedLoops(polygon.next) == 1,
                 "Loop count on second polygon correct");
        t_assert(countLinkedCoords(polygon.next->first) == 6,
                 "All coords for one hex added to second polygon");

        H3_EXPORT(destroyLinkedMultiPolygon)(&polygon);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/apps/testapps/testCellsToLinkedMultiPolygon.c [284:298]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        int numHexes = ARRAY_SIZE(set);
        t_assertSuccess(
            H3_EXPORT(cellsToLinkedMultiPolygon)(set, numHexes, &polygon));

        t_assert(countLinkedPolygons(&polygon) == 2, "2 polygons added");
        t_assert(countLinkedLoops(&polygon) == 1,
                 "1 loop on the first polygon");
        t_assert(countLinkedCoords(polygon.first) == 6,
                 "All coords for one hex added to first loop");
        t_assert(countLinkedLoops(polygon.next) == 1,
                 "Loop count on second polygon correct");
        t_assert(countLinkedCoords(polygon.next->first) == 6,
                 "All coords for one hex added to second polygon");

        H3_EXPORT(destroyLinkedMultiPolygon)(&polygon);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



