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

#include "unity.h"
#include <math.h>
#include "funktion.h"
void setUp(void)
{
}
void tearDown(void)
{
}
void test_kreisFlaeche_NeedToImplement(void) {
double r = 8;
double result = kreisFlaeche(r);
double ergebnis = M_PI * pow(r, 2);
TEST_ASSERT_EQUAL_FLOAT(ergebnis, result);
}