@ -78,4 +78,16 @@ void test_convertNegative12ToBinaryStrNegative1100(){
//assert
TEST_ASSERT_EQUAL_STRING(expected, result);
free(result);
}
void test_convertBinaryStr11ToInt3(){
//arrange
unsigned int result;
unsigned int expected = 3;
//act
result = convertBinaryStrToInt("11");
TEST_ASSERT_EQUAL_UINT(expected, result);