|
@ -1,3 +1,4 @@ |
|
|
|
|
|
#include "src/Umgebung.h" |
|
|
#include "src/Spiellogik.h" |
|
|
#include "src/Spiellogik.h" |
|
|
#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h" |
|
|
#include "/var/lib/gems/3.0.0/gems/ceedling-0.31.1/vendor/unity/src/unity.h" |
|
|
|
|
|
|
|
@ -30,7 +31,7 @@ void test_test1(void){ |
|
|
|
|
|
|
|
|
((void *)0) |
|
|
((void *)0) |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(16), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(17), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -56,7 +57,7 @@ void test_win_SchlangegroesseAusreichend(void){ |
|
|
|
|
|
|
|
|
((void *)0) |
|
|
((void *)0) |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(27), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(28), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -78,7 +79,7 @@ void test_win_SchlangeNichtAusreichend(void){ |
|
|
|
|
|
|
|
|
((void *)0) |
|
|
((void *)0) |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(36), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(37), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -96,7 +97,7 @@ void test_feldFrei_Verhalten_bei_belegtem_Feld(void){ |
|
|
|
|
|
|
|
|
((void *)0) |
|
|
((void *)0) |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(43), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(44), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -116,7 +117,7 @@ void test_feldFrei_Verhalten_bei_freiem_Feld(void){ |
|
|
|
|
|
|
|
|
((void *)0) |
|
|
((void *)0) |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(51), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(52), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -142,7 +143,7 @@ void test_lose_up_freiesFeld(void){ |
|
|
|
|
|
|
|
|
((void *)0) |
|
|
((void *)0) |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(62), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(63), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -166,7 +167,7 @@ void test_lose_up_belegtesFeld(void){ |
|
|
|
|
|
|
|
|
((void *)0) |
|
|
((void *)0) |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(72), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(73), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -190,7 +191,7 @@ void test_lose_up_Obererrand(void){ |
|
|
|
|
|
|
|
|
((void *)0) |
|
|
((void *)0) |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(82), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(83), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -214,7 +215,7 @@ void test_lose_down_freiesFeld(void){ |
|
|
|
|
|
|
|
|
((void *)0) |
|
|
((void *)0) |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(92), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(93), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -240,7 +241,7 @@ void test_lose_down_belegtesFeld(void){ |
|
|
|
|
|
|
|
|
((void *)0) |
|
|
((void *)0) |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(103), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(104), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -264,7 +265,7 @@ void test_lose_left_freiesFeld(void){ |
|
|
|
|
|
|
|
|
((void *)0) |
|
|
((void *)0) |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(113), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(114), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -290,7 +291,7 @@ void test_lose_left_belegtesFeld(void){ |
|
|
|
|
|
|
|
|
((void *)0) |
|
|
((void *)0) |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(124), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(125), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -314,7 +315,7 @@ void test_lose_left_linkerRand(void){ |
|
|
|
|
|
|
|
|
((void *)0) |
|
|
((void *)0) |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(134), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(135), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -338,7 +339,7 @@ void test_lose_right_freiesFeld(void){ |
|
|
|
|
|
|
|
|
((void *)0) |
|
|
((void *)0) |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(144), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(145), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -364,7 +365,7 @@ void test_lose_right_belegtesFeld(void){ |
|
|
|
|
|
|
|
|
((void *)0) |
|
|
((void *)0) |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(155), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(156), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -388,6 +389,6 @@ void test_lose_right_rechterRand(void){ |
|
|
|
|
|
|
|
|
((void *)0) |
|
|
((void *)0) |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(165), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
), (UNITY_UINT)(166), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
|
} |
|
|
} |