first commit
This commit is contained in:
12
test_utils/test_utils.c
Normal file
12
test_utils/test_utils.c
Normal 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
8
test_utils/test_utils.h
Normal 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
|
||||
Reference in New Issue
Block a user