@ -189,4 +189,16 @@ void test_convert234ToHexStrEA(){
//assert
TEST_ASSERT_EQUAL_STRING(expected, result);
free(result);
}
void test_convertBinaryStr10110ToInt22(){
//arrange
unsigned int result;
unsigned int expected = 22;
//act
result = convertBinaryStrToInt("10110");
TEST_ASSERT_EQUAL_UINT(expected, result);