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.

18 lines
280 B

2 years ago
  1. #include "unity.h"
  2. #include <math.h>
  3. #include "funktion.h"
  4. #include "funktion.c"
  5. void setUp(void)
  6. {
  7. }
  8. void tearDown(void)
  9. {
  10. }
  11. void test_ByOne_NeedToImplement(void) {
  12. int n = 10;
  13. int result = ByOne(n);
  14. int ergebnis = 2;
  15. TEST_ASSERT_EQUAL_INT(ergebnis, result);
  16. }