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.
 
 

19 lines
334 B

#include "unity.h"
#include <math.h>
#include "funktion.h"
void setUp(void)
{
}
void tearDown(void)
{
}
void test_grundwert_NeedToImplement(void) {
double prozent = 8;
double ein = 10;
double result = grundwert(ein, prozent);
double ergebnis = (ein / prozent) * 100;
TEST_ASSERT_EQUAL_FLOAT(ergebnis, result);
}