coord_eo_tests.c (245B)
1 #include "../test.h" 2 3 int64_t coord_eo(cube_t); 4 5 void run(void) { 6 char str[STRLENMAX]; 7 cube_t cube; 8 int64_t result; 9 10 fgets(str, STRLENMAX, stdin); 11 cube = readcube("H48", str); 12 13 result = coord_eo(cube); 14 15 printf("%" PRId64 "\n", result); 16 }