Browse Source

unittest multiplikation

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

6
test/test_minirechner.c

@ -69,4 +69,10 @@ void test_minitaschenrechner_8_mal_3(void)
TEST_ASSERT_EQUAL(24, result);
}
void test_minitaschenrechner_minus3_mal_minus4(void)
{
float result = multiplizieren(-3, -4);
TEST_ASSERT_EQUAL(12, result);
}
#endif // TEST
Loading…
Cancel
Save