Browse Source

test_Mathe_minus

main^2
fdai7731 11 months ago
parent
commit
9349c9995c
  1. 14
      src/test/c/test_Mathe.c

14
src/test/c/test_Mathe.c

@ -17,4 +17,18 @@ void test_Mathe_plus(void)
TEST_ASSERT_EQUAL_INT(a,3);
}
void test_Mathe_minus(void)
{
int a=berechneErgebnis(1,2,'-');
/* assert */
TEST_ASSERT_EQUAL_INT(a,-1);
}
#endif
Loading…
Cancel
Save