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
337 B

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