diff --git a/test/conversionOfNumbers/test_conversionOfNumbers.c b/test/conversionOfNumbers/test_conversionOfNumbers.c index 5b11535..c29c097 100644 --- a/test/conversionOfNumbers/test_conversionOfNumbers.c +++ b/test/conversionOfNumbers/test_conversionOfNumbers.c @@ -176,4 +176,17 @@ void test_hexStringLengthOfInput0is1(){ //assert TEST_ASSERT_EQUAL_INT(expected, result); +} + +void test_convert234ToHexStrEA(){ + //arrange + char* result; + char expected[] = "EA"; + + //act + result = convertIntToHex(234); + + //assert + TEST_ASSERT_EQUAL_STRING(expected, result); + free(result); } \ No newline at end of file