@ -1,6 +1,18 @@
#include "decbinary.h"
#ifdef TEST
#include "unity.h"
void setUp(void)
{
}
void test_decimal_1(void)
int result, expected = 10;
result = decimal_to_binary(2);
TEST_ASSERT_EQUAL_INT(expected, result);
#endif //TEST