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
291 B
18 lines
291 B
#include "unity.h"
|
|
#include <math.h>
|
|
#include "funktion.h"
|
|
|
|
void setUp(void)
|
|
{
|
|
}
|
|
|
|
void tearDown(void)
|
|
{
|
|
}
|
|
|
|
void test_kreisUmfang_NeedToImplement(void) {
|
|
double r = 8;
|
|
double result = kreisUmfang(r);
|
|
double ergebnis = 2 * M_PI * r;
|
|
TEST_ASSERT_EQUAL_FLOAT(ergebnis, result);
|
|
}
|