Browse Source

test_*.*

main
fdai7225 2 years ago
parent
commit
284ccd413f
  1. 24
      test/test_Umgebung.c

24
test/test_Umgebung.c

@ -0,0 +1,24 @@
#include "unity.h"
#include "cmock.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);
}
Loading…
Cancel
Save