@ -103,3 +103,15 @@ void test_convertBinaryStr1111ToInt15(){
//assert
TEST_ASSERT_EQUAL_UINT(expected, result);
}
void test_convertBinaryStr1001ToInt9(){
//arrange
unsigned int result;
unsigned int expected = 9;
//act
result = convertBinaryStrToInt("1001");