test/test-datatypes.c

changeset 194
619f07c95894
parent 193
d1420f5c5704
equal deleted inserted replaced
193:d1420f5c5704 194:619f07c95894
35 #if __STDC_VERSION__ < 202310L 35 #if __STDC_VERSION__ < 202310L
36 #include <assert.h> 36 #include <assert.h>
37 #endif 37 #endif
38 38
39 static_assert(sizeof(Color) == 1); 39 static_assert(sizeof(Color) == 1);
40 static_assert(sizeof(Row) == 1); 40 static_assert(sizeof(Rank) == 1);
41 static_assert(sizeof(File) == 1); 41 static_assert(sizeof(File) == 1);
42 static_assert(sizeof(Piece) == 1); 42 static_assert(sizeof(Piece) == 1);
43 43
44 static_assert(sizeof(Board) == 64); 44 static_assert(sizeof(Board) == 64);
45 45

mercurial