From 2032523fd51c0375e9a1117ee2e303661f5f5144 Mon Sep 17 00:00:00 2001 From: INNA Date: Fri, 9 Feb 2024 19:54:13 +0100 Subject: [PATCH] =?UTF-8?q?Hinzuf=C3=BCgen=20der=20Testdatei=20f=C3=BCr=20?= =?UTF-8?q?kleiner=5Fgroessergleich?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- {src => test}/test_decbinary.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename {src => test}/test_decbinary.c (66%) 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); }