diff --git a/build/test/cache/test_Modules.c b/build/test/cache/test_Modules.c index 5c2cac4..dc68a47 100644 --- a/build/test/cache/test_Modules.c +++ b/build/test/cache/test_Modules.c @@ -493,3 +493,41 @@ void test_generateField_check_if_first_life_away(void) ), (UNITY_UINT)(227), UNITY_DISPLAY_STYLE_INT); } + + + +void test_generateField_check_if_second_life_away(void) + +{ + + + + int output = 1; + + lifeCount = 1; + + + + + + generateField(); + + + + if (field[2][1] == 'X') + + { + + output = 0; + + } + + + + UnityAssertEqualNumber((UNITY_INT)((0)), (UNITY_INT)((output)), ( + + ((void *)0) + + ), (UNITY_UINT)(244), UNITY_DISPLAY_STYLE_INT); + +}