#include "unity.h" #include "Spiellogik.h" #include void setUp(void){ } void tearDown(void){ } void test_test1(void){ int result = probe(2); TEST_ASSERT_EQUAL_INT(2, result); } void test_feldFrei_Verhalten_bei_belegtem_Feld(void){ int realU[N][N]; realU[11][12] = 1; int result = feldFrei( realU, 11,12); TEST_ASSERT_EQUAL_INT(0 , result); } void test_feldFrei_Verhalten_bei_freiem_Feld(void){ int realU[N][N]; realU[11][12] = 0; int result = feldFrei(realU, 11, 12); TEST_ASSERT_EQUAL_INT(1, result); }