Browse Source

Hinzufügen der Testdatei für kleiner_groessergleich

master
INNA 11 months ago
parent
commit
2032523fd5
  1. 4
      test/test_decbinary.c

4
src/test_decbinary.c → test/test_decbinary.c

@ -9,8 +9,8 @@ void setUp(void)
void test_decimal_1(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); TEST_ASSERT_EQUAL_INT(expected, result);
} }
Loading…
Cancel
Save