first commit

This commit is contained in:
2024-07-30 00:17:18 +03:00
commit 69ca98ffb5
4 changed files with 98 additions and 0 deletions

12
test_utils/test_utils.c Normal file
View File

@@ -0,0 +1,12 @@
#include <stdio.h>
#include "test_utils.h"
#include "../global_macros.h"
void printBoard(char board[BRD_SIZE_X][BRD_SIZE_Y]) {
for (int i = 0; i < BRD_SIZE_X; i++) {
for (int j = 0; j < BRD_SIZE_Y; j++) {
printf("%c", board[i][j]);
}
printf("\n");
}
}

8
test_utils/test_utils.h Normal file
View File

@@ -0,0 +1,8 @@
#ifndef TEST_UTILS_H
#define TEST_UTILS_H
#include "../global_macros.h"
void printBoard(char board[BRD_SIZE_X][BRD_SIZE_Y]);
#endif // TEST_UTILS_H