From 284ccd413f2600756e3c90c713ec49b41e87eeec Mon Sep 17 00:00:00 2001 From: fdai7225 Date: Mon, 6 Feb 2023 17:46:48 +0100 Subject: [PATCH] test_*.* --- test/test_Umgebung.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 test/test_Umgebung.c diff --git a/test/test_Umgebung.c b/test/test_Umgebung.c new file mode 100644 index 0000000..de730c5 --- /dev/null +++ b/test/test_Umgebung.c @@ -0,0 +1,24 @@ +#include "unity.h" +#include "cmock.h" +#include +#include + 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); + + +} + + +