progress
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
#include <stdio.h>
|
||||
#include "test_utils.h"
|
||||
#include "../global_macros.h"
|
||||
#include "../globals.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++) {
|
||||
extern char board[BRD_SIZE_Y][BRD_SIZE_X];
|
||||
|
||||
void printBoard() {
|
||||
for (int i = 0; i < BRD_SIZE_Y; i++) {
|
||||
for (int j = 0; j < BRD_SIZE_X; j++) {
|
||||
printf("%c", board[i][j]);
|
||||
}
|
||||
printf("\n");
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#ifndef TEST_UTILS_H
|
||||
#define TEST_UTILS_H
|
||||
|
||||
#include "../global_macros.h"
|
||||
#include "../globals.h"
|
||||
|
||||
void printBoard(char board[BRD_SIZE_X][BRD_SIZE_Y]);
|
||||
void printBoard();
|
||||
|
||||
#endif // TEST_UTILS_H
|
||||
|
||||
Reference in New Issue
Block a user