diff options
author | eug-vs <eugene@eug-vs.xyz> | 2022-09-13 23:26:34 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2022-09-13 23:29:12 +0300 |
commit | b8bb4d08ef489bc81e9c00ae43d19c3795e22072 (patch) | |
tree | d8bdd3b6bf0ff594aa1e72c0cc07d292334e7015 /src/main.c | |
parent | 7a4d16e5ebd45b15b0c4925894c25a81c2e135c6 (diff) | |
download | j1chess-b8bb4d08ef489bc81e9c00ae43d19c3795e22072.tar.gz |
chore: setup primitive testing framework
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,7 +1,10 @@ -#include <stdio.h> +#include "unittest.h" #include "board.h" int main() { - printf("Size of board: %lu bytes\n", sizeof(Board)); + unit_test(2 * 2 == 4, "2 * 2 == 4"); + unit_test(2 * 2 == 5, "2 * 2 == 4"); + + report(); return 0; } |