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.
20 lines
322 B
20 lines
322 B
#include "unity.h"
|
|
|
|
#include "funktion.h"
|
|
|
|
void setUp(void)
|
|
{
|
|
}
|
|
|
|
void tearDown(void)
|
|
{
|
|
}
|
|
|
|
void test_trapezUmfang_NeedToImplement(void) {
|
|
double a = 15;
|
|
double b = 5;
|
|
double h = 9;
|
|
double result = trapezUmfang(a, b, h);
|
|
double ergebnis = (2 * h) + a + b;
|
|
TEST_ASSERT_EQUAL_FLOAT(ergebnis, result);
|
|
}
|