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.
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);
|
|
}
|
|
|