25 lines
355 B
25 lines
355 B
|
|
|
|
#include "unity.h"
|
|
#include "funktion.h"
|
|
|
|
void setUp(void)
|
|
{
|
|
}
|
|
|
|
void tearDown(void)
|
|
{
|
|
}
|
|
|
|
void test_position_NeedToImplement(void)
|
|
{
|
|
double a=5;
|
|
double b= 3;
|
|
double c= 4;
|
|
double d = 2;
|
|
double result=position(a,b,c,d);
|
|
double ergebnis=19;
|
|
printf("Testergebniss %d", ergebnis);
|
|
TEST_ASSERT_EQUAL_FLOAT(result, ergebnis);
|
|
}
|
|
|