Keep bitboard.c

This commit is contained in:
2024-02-05 08:38:08 +01:00
parent 033d95ce26
commit 6acacb0314
5 changed files with 0 additions and 0 deletions

20
test/fen-test.c Normal file
View File

@@ -0,0 +1,20 @@
#include "debug.h"
#include "pool.h"
#include "../src/position.h"
#include "../src/fen.h"
int main(int ac, char**av)
{
pos_t *pos;
debug_init(5, stderr, true);
piece_pool_init();
pos_pool_init();
pos = pos_get();
if (ac == 1) {
pos_startpos(pos);
} else {
fen2pos(pos, av[1]);
}
pos_print(pos);
}