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.
28 lines
379 B
28 lines
379 B
#include "unity.h"
|
|
#include <Umgebung.h>
|
|
#include <stdlib.h>
|
|
void setUp(void)
|
|
{
|
|
}
|
|
|
|
void tearDown(void)
|
|
{
|
|
}
|
|
void test_Umgebung_RealU(void){
|
|
|
|
int realU[N][N];
|
|
realU[14][15] = 0;
|
|
int result = RealU(realU);
|
|
|
|
TEST_ASSERT_EQUAL_INT(1, result);
|
|
|
|
|
|
}
|
|
void test_Umgebung_delay(void){
|
|
|
|
|
|
|
|
int result = delay(2);
|
|
|
|
TEST_ASSERT_EQUAL_INT(2, result);
|
|
}
|