diff --git a/test/test_battleship.c b/test/test_battleship.c index 68a4e16..56d6aa3 100644 --- a/test/test_battleship.c +++ b/test/test_battleship.c @@ -21,5 +21,23 @@ void test_convertcoor(void) { 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