#include "unity.h" #include #include "funktion.h" void setUp(void) { } void tearDown(void) { } void test_dreieckFlaeche_NeedToImplement(void) { double a = 4; double b = 7; double c = 9; double s = (a + b + c) / 2; double result = dreieckFlaeche(a, b, c); double ergebnis = sqrt(s * (s - a) * (s - b) * (s - c)); TEST_ASSERT_EQUAL_FLOAT(ergebnis, result); }