20 lines
319 B
20 lines
319 B
#include "unity.h"
|
|
|
|
#include "funktion.h"
|
|
|
|
void setUp(void)
|
|
{
|
|
}
|
|
|
|
void tearDown(void)
|
|
{
|
|
}
|
|
|
|
void test_dreieckUmfangn_NeedToImplement(void) {
|
|
double a = 4;
|
|
double b = 7;
|
|
double c = 9;
|
|
double result = dreieckUmfangn(a, b, c);
|
|
double ergebnis = a + b + c;
|
|
TEST_ASSERT_EQUAL_FLOAT(ergebnis, result);
|
|
}
|