diff --git a/test/test_addition.c b/test/test_addition.c index 1d9823c..e18db0c 100644 --- a/test/test_addition.c +++ b/test/test_addition.c @@ -4,6 +4,8 @@ #include "addition.h" +int* nullcarry = NULL; + void setUp(void) { } @@ -12,9 +14,14 @@ void tearDown(void) { } -void test_addition_NeedToImplement(void) +void test_addition_volladdierer_nullplusnullgleichnull(void) { - TEST_IGNORE_MESSAGE("Need to Implement addition"); + int result[1]; + int expected = 0; + + volladdierer(result, nullcarry, 0, 0, 0); + + TEST_ASSERT_EQUAL_INT(expected, result[0]); } #endif // TEST