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.
27 lines
350 B
27 lines
350 B
|
|
|
|
#include "unity.h"
|
|
#include "funktion.h"
|
|
|
|
|
|
void setUp(void)
|
|
{
|
|
}
|
|
|
|
void tearDown(void)
|
|
{
|
|
}
|
|
|
|
void test_Eintauchtiefe_NeedToImplement(void)
|
|
{
|
|
double a=10;
|
|
double b=2;
|
|
double c=2;
|
|
double result = Eintauchtiefe(a,b,c);
|
|
double ergebnis=2.5;
|
|
printf("Testergebniss %d", ergebnis);
|
|
TEST_ASSERT_EQUAL_FLOAT(result, ergebnis);
|
|
}
|
|
|
|
|
|
|