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.
23 lines
356 B
23 lines
356 B
#include "unity.h"
|
|
#include "funktion.h"
|
|
|
|
|
|
void setUp(void)
|
|
{
|
|
}
|
|
|
|
void tearDown(void)
|
|
{
|
|
}
|
|
|
|
void test_grenzGewinn_NeedToImplement(void)
|
|
{
|
|
double a =2000;
|
|
double b = 2;
|
|
double c = 2859;
|
|
double result = grenzGewinn(a,b,c);
|
|
double ergebnis = 1141;
|
|
printf("Testergebniss %f", ergebnis);
|
|
TEST_ASSERT_EQUAL_FLOAT(result, ergebnis);
|
|
}
|
|
|