diff --git a/test/conversionOfNumbers/test_conversionOfNumbers.c b/test/conversionOfNumbers/test_conversionOfNumbers.c index c978215..a878c81 100644 --- a/test/conversionOfNumbers/test_conversionOfNumbers.c +++ b/test/conversionOfNumbers/test_conversionOfNumbers.c @@ -140,4 +140,16 @@ void test_convert12ToHexStrC(){ //assert TEST_ASSERT_EQUAL_STRING(expected, result); free(result); +} + +void test_binaryStringLengthOfInput256is3(){ + //arrange + int result; + int expected = 3; + + //act + result = hexStrLen(256); + + //assert + TEST_ASSERT_EQUAL_INT(expected, result); } \ No newline at end of file