h48

A prototype for an optimal Rubik's cube solver, work in progress.
git clone https://git.tronto.net/h48
Download | Log | Files | Refs | README | LICENSE

coord_esep_tests.c (249B)


      1 #include "../test.h"
      2 
      3 int64_t coord_esep(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_esep(cube);
     14 
     15 	printf("%" PRId64 "\n", result);
     16 }