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.

24 lines
381 B

  1. #include "unity.h"
  2. #include "funktion.h"
  3. void setUp(void)
  4. {
  5. }
  6. void tearDown(void)
  7. {
  8. }
  9. void test_GewinnMaximum_NeedToImplement(void)
  10. {
  11. double a =2000;
  12. double b = 2;
  13. double c = 2859;
  14. double d = 890;
  15. double result = GewinnMaximum(a,b,c,d);
  16. double ergebnis = 251;
  17. printf("Testergebniss %f", ergebnis);
  18. TEST_ASSERT_EQUAL_FLOAT(result, ergebnis);
  19. }