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