Browse Source

Update test/test_battleship.c

remotes/origin/Battleship_game
fdai7729 11 months ago
parent
commit
1e2e35b0bc
  1. 24
      test/test_battleship.c

24
test/test_battleship.c

@ -1 +1,25 @@
#ifdef TEST
#include "unity.h"
#include "battleship_game.h"
void setUp(void){
}
void tearDown(void){
}
void test_convertcoor(void) {
int output;
output = convertcoor('b', 5);
TEST_ASSERT_EQUAL_INT(14, output);
}
#endif
Loading…
Cancel
Save