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
336 B

11 months ago
11 months ago
  1. #ifdef TEST
  2. #include "unity.h"
  3. #include "WortSpiel.h"
  4. void setUp(void)
  5. {
  6. }
  7. void tearDown(void)
  8. {
  9. }
  10. void testLoescheBuchstaben_Buchstabeexistiert(void) {
  11. // Testfall 1: Buchstabe existiert im Wort
  12. char wort1[] = "Beispiel";
  13. loescheBuchstaben(wort1, 'i');
  14. TEST_ASSERT_EQUAL_STRING("Bespel", wort1);
  15. }
  16. #endif // TEST