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

  1. #include "unity.h"
  2. #include "funktion.h"
  3. void setUp(void)
  4. {
  5. }
  6. void tearDown(void)
  7. {
  8. }
  9. void test_Kritische_Menge_NeedToImplement(void)
  10. {
  11. double a =658423;
  12. double b = 56432;
  13. double c = 1999;
  14. double result = Kritische_Menge(a,b,c);
  15. double ergebnis = -12.096026;
  16. printf("Testergebniss %f", ergebnis);
  17. TEST_ASSERT_EQUAL_FLOAT(result, ergebnis);
  18. }