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.
25 lines
352 B
25 lines
352 B
#include "unity.h"
|
|
#include "Spiellogik.h"
|
|
#include <stdlib.h>
|
|
|
|
void setUp(void){
|
|
}
|
|
|
|
void tearDown(void){
|
|
|
|
}
|
|
|
|
void test_test1(void){
|
|
|
|
int result = probe(2);
|
|
|
|
TEST_ASSERT_EQUAL_INT(2, result);
|
|
}
|
|
|
|
void test_feldFrei(void){
|
|
int realU[N][N];
|
|
realU[11][12] = 1;
|
|
int result = feldFrei( realU, 11,12);
|
|
|
|
TEST_ASSERT_EQUAL_INT(0 , result);
|
|
}
|