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