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.
24 lines
328 B
24 lines
328 B
|
|
|
|
#include "unity.h"
|
|
#include "funktion.h"
|
|
|
|
void setUp(void)
|
|
{
|
|
}
|
|
|
|
void tearDown(void)
|
|
{
|
|
}
|
|
|
|
void test_work_NeedToImplement(void)
|
|
{
|
|
double a=20;
|
|
double b= 3;
|
|
double c=5;
|
|
double result=work(a,b,c);
|
|
double ergebnis=300;
|
|
printf("Testergebniss %d", ergebnis);
|
|
TEST_ASSERT_EQUAL_FLOAT(result, ergebnis);
|
|
}
|
|
|