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.

25 lines
420 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_vPunkt_NeedToImplement(void)
  10. {
  11. double x1 = 1;
  12. double x2 = 2;
  13. double x3 = 3;
  14. double z1 = 4;
  15. double z2 = 5;
  16. double z3 = 6;
  17. double p1 = 7;
  18. double p2 = 8;
  19. double p3 = 9;
  20. double exp = vPunkt(x1,x2,x3,z1,z2,z3,p1,p2,p3);
  21. double result = 0.000000;
  22. TEST_ASSERT_EQUAL(result,exp);
  23. }