cubecore

A library of core functions for working with 3x3x3 Rubik's cubes
git clone https://git.tronto.net/cubecore
Download | Log | Files | Refs | README | LICENSE

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 }