Browse Source

Update test/test_battleship.c

remotes/origin/Battleship_game
fdai7729 11 months ago
parent
commit
e9abad7b74
  1. 18
      test/test_battleship.c

18
test/test_battleship.c

@ -21,5 +21,23 @@ void test_convertcoor(void) {
TEST_ASSERT_EQUAL_INT(14, output); TEST_ASSERT_EQUAL_INT(14, output);
} }
void setUp(void){
}
void tearDown(void){
}
void test_convertcoor(void) {
int output;
output = convertcoor('F', 6);
TEST_ASSERT_EQUAL_INT(55, output);
}
#endif #endif
Loading…
Cancel
Save