Browse Source

unittest addition

remotes/origin/minirechnerdev
fdai7754 11 months ago
parent
commit
733d986c01
  1. 5
      test/test_minirechner.c

5
test/test_minirechner.c

@ -31,4 +31,9 @@ void test_minitaschenrechner_minus1_plus_minus3(void)
TEST_ASSERT_EQUAL(-4, result);
}
void test_minitaschenrechner_0_plus_2(void)
{
float result = addieren(0, 2);
TEST_ASSERT_EQUAL(2, result);
}
#endif // TEST
Loading…
Cancel
Save