remove -DBIN_xxx from brchess source files. parts moved to ./test (TODO)

This commit is contained in:
2023-12-13 21:30:39 +01:00
parent a0ccad58e5
commit 01c5765888
11 changed files with 144 additions and 137 deletions

20
test/fen.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);
}