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.

29 lines
521 B

  1. // test_wwm.c
  2. #include "unity.h"
  3. #include "wwm.h"
  4. void setUp(void) {
  5. // set up any initializations if needed
  6. }
  7. void tearDown(void) {
  8. // clean up after the test if needed
  9. }
  10. void test_setGeld_and_wwm(void) {
  11. // Initialize or reset variables if needed
  12. runde = 0;
  13. geld = 0;
  14. frage = 0;
  15. useranswer = 0;
  16. // Call setGeld and check the initial values
  17. TEST_ASSERT_EQUAL(0, setGeld(0));
  18. TEST_ASSERT_EQUAL(0, geld);
  19. // Call wwm and check if it runs without errors
  20. //wwm();
  21. }