Vorlage für Automatisiertes Testen mit der Programmiersprache C
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.

27 lines
293 B

1 year ago
  1. #ifdef TEST
  2. #include "unity.h"
  3. #include "berechnung.h"
  4. void setUp(void)
  5. {
  6. }
  7. void tearDown(void)
  8. {
  9. }
  10. void test_berechnung_2_convertsToDigit(void)
  11. {
  12. /* arrange */
  13. char* result;
  14. char expected[] = "2\n";
  15. /* act */
  16. result = convert(2);
  17. /* assert */
  18. }
  19. #endif // TEST