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.

18 lines
304 B

  1. #include "unity.h"
  2. #include "funktion.h"
  3. void setUp(void)
  4. {
  5. }
  6. void tearDown(void)
  7. {
  8. }
  9. void test_viereckUmfang_NeedToImplement(void) {
  10. double a = 4;
  11. double b = 7;
  12. double result = viereckUmfang(a, b);
  13. double ergebnis = (2 * a) + (2 * b);
  14. TEST_ASSERT_EQUAL_FLOAT(ergebnis, result);
  15. }