Browse Source

unittest division

remotes/origin/minirechnerdev
fdai7754 11 months ago
parent
commit
65442d4ec5
  1. 6
      test/test_minirechner.c

6
test/test_minirechner.c

@ -94,4 +94,10 @@ void test_minitaschenrechner_minus6_durch_minus2(void)
TEST_ASSERT_EQUAL(3, result);
}
void test_minitaschenrechner_0_durch_5(void)
{
float result = dividieren(0, 5);
TEST_ASSERT_EQUAL(0, result);
}
#endif // TEST
Loading…
Cancel
Save