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

2 years ago
  1. #include "unity.h"
  2. #include "funktion.h"
  3. void setUp(void)
  4. {
  5. }
  6. void tearDown(void)
  7. {
  8. }
  9. void test_Vparallel_NeedToImplement(void)
  10. {
  11. double a = 1;
  12. double b = 2;
  13. double c = 3;
  14. double d = 4;
  15. double e = 5;
  16. double f = 6;
  17. double exp = Vparallel(a,b,c,d,e,f);
  18. double result = 1.000000;
  19. TEST_ASSERT_EQUAL_FLOAT(result,exp);
  20. }