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
304 B
19 lines
304 B
#include "unity.h"
|
|
|
|
#include "funktion.h"
|
|
|
|
void setUp(void)
|
|
{
|
|
}
|
|
|
|
void tearDown(void)
|
|
{
|
|
}
|
|
|
|
void test_viereckUmfang_NeedToImplement(void) {
|
|
double a = 4;
|
|
double b = 7;
|
|
double result = viereckUmfang(a, b);
|
|
double ergebnis = (2 * a) + (2 * b);
|
|
TEST_ASSERT_EQUAL_FLOAT(ergebnis, result);
|
|
}
|