|
|
@ -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 |