Browse Source

test_fakultaet_1 Fakultaet von 4 = 24

master
Justin Trausch 11 months ago
parent
commit
9cba867ba5
  1. 9
      test/test_fakultaet.c

9
test/test_fakultaet.c

@ -12,4 +12,13 @@ void setUp(void)
void tearDown(void) void tearDown(void)
{ {
} }
void test_fakultaet_1(void)
{
int result, expected = 24;
result = berechneFakultaetInt(4);
TEST_ASSERT_EQUAL_INT(expected, result);
}
#endif //TEST #endif //TEST
Loading…
Cancel
Save