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.

21 lines
366 B

  1. #include<math.h>
  2. #include "unity.h"
  3. #include "funktion.h"
  4. void setUp(void)
  5. {
  6. }
  7. void tearDown(void)
  8. {
  9. }
  10. void test_Effektivverzinsung_NeedToImplement(void)
  11. {
  12. double a =2.9;
  13. double b = 63;
  14. double result = Effektivverzinsung(a,b);
  15. double ergebnis = 16.03439;
  16. printf("Testergebniss %f", ergebnis);
  17. TEST_ASSERT_EQUAL_FLOAT(result, ergebnis);
  18. }