@ -38,4 +38,16 @@ void test_binaryStringLengthOfInput0is1(){
//assert
TEST_ASSERT_EQUAL_INT(expected, result);
}
void test_convert10ToBinaryStr(){
//arrange
char* result;
char expected[] = "1010";
//act
result = convertIntToBinaryStr(10);
TEST_ASSERT_EQUAL_STRING(expected, result);