src/apps/testapps/testGridRing.c [43:61]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - for (int i = 0; i < 6; i++) { t_assert(k1[i] != 0, "index is populated"); int inList = 0; for (int j = 0; j < 6; j++) { if (k1[i] == expectedK1[j]) { inList++; } } t_assert(inList == 1, "index found in expected set"); } } TEST(ring2) { H3Index k2[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; H3Index expectedK2[] = { 0x89283080ca7ffff, 0x89283080cafffff, 0x89283080c33ffff, 0x89283080c23ffff, 0x89283080c2fffff, 0x89283080d5bffff, 0x89283080d43ffff, 0x89283080d57ffff, 0x89283080d1bffff, 0x89283080dc7ffff, 0x89283080dd7ffff, 0x89283080dd3ffff}; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - src/apps/testapps/testGridRingUnsafe.c [49:67]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - for (int i = 0; i < 6; i++) { t_assert(k1[i] != 0, "index is populated"); int inList = 0; for (int j = 0; j < 6; j++) { if (k1[i] == expectedK1[j]) { inList++; } } t_assert(inList == 1, "index found in expected set"); } } TEST(ring2) { H3Index k2[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; H3Index expectedK2[] = { 0x89283080ca7ffff, 0x89283080cafffff, 0x89283080c33ffff, 0x89283080c23ffff, 0x89283080c2fffff, 0x89283080d5bffff, 0x89283080d43ffff, 0x89283080d57ffff, 0x89283080d1bffff, 0x89283080dc7ffff, 0x89283080dd7ffff, 0x89283080dd3ffff}; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -