Browse Source

unittest multiplikation

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

6
test/test_minirechner.c

@ -75,4 +75,10 @@ void test_minitaschenrechner_minus3_mal_minus4(void)
TEST_ASSERT_EQUAL(12, result); TEST_ASSERT_EQUAL(12, result);
} }
void test_minitaschenrechner_0_mal_5(void)
{
float result = multiplizieren(0, 5);
TEST_ASSERT_EQUAL(0, result);
}
#endif // TEST #endif // TEST
Loading…
Cancel
Save