diff --git a/test/test_battleship.c b/test/test_battleship.c index 8b13789..68a4e16 100644 --- a/test/test_battleship.c +++ b/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