diff --git a/src/test_decbinary.c b/test/test_decbinary.c similarity index 66% rename from src/test_decbinary.c rename to test/test_decbinary.c index 747220c..3715465 100644 --- a/src/test_decbinary.c +++ b/test/test_decbinary.c @@ -9,8 +9,8 @@ void setUp(void) void test_decimal_1(void) { - int result, expected = 10; - result = decimal_to_binary(2); + int result, expected = 4; + result = decimal_to_binary(10); TEST_ASSERT_EQUAL_INT(expected, result); }