@ -157,5 +157,22 @@ void test_sortScoreboard_check_if_file_is_being_read(void) {
/* assert */
TEST_ASSERT_EQUAL(0, y);
}
void test_generateField_check_last_position_change_on_score(void)
{
/* arrange */
scorePoints = 321;
int output = 1;
/* act */
generateField();
if (field[12][1] != '0')
output = 0;
TEST_ASSERT_EQUAL(0, output);
#endif // TEST