Browse Source

unittest rest

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

6
test/test_minirechner.c

@ -107,4 +107,10 @@ void test_minitaschenrechner_14_rest_5(void)
TEST_ASSERT_EQUAL(4, result); TEST_ASSERT_EQUAL(4, result);
} }
void test_minitaschenrechner_1_rest_7(void)
{
float result = rest(0, 7);
TEST_ASSERT_EQUAL(0, result);
}
#endif // TEST #endif // TEST
Loading…
Cancel
Save