You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
289 B

  1. #ifdef TEST
  2. #include "unity.h"
  3. #include "zahlenraten.h"
  4. void setUp(void)
  5. {
  6. }
  7. void tearDown(void)
  8. {
  9. }
  10. void test_zahlenraten_gib_zufallszahl(void)
  11. {
  12. int result = gib_zufallszahl();
  13. TEST_ASSERT_GREATER_THAN (0, result);
  14. TEST_ASSERT_LESS_THAN (101, result);
  15. }
  16. #endif // TEST