generated from freudenreichan/info2Praktikum-Wortsalat
JETZT IST SCHLUSS
This commit is contained in:
1 parent
828fc53eff
commit
140bfb59c6
1 file changed
+2
@@ -93,6 +93,7 @@ void test_createWordSalad_too_small(void) {
|
||||
TEST_ASSERT_LESS_OR_EQUAL(2, placed);
|
||||
|
||||
// Feld muss vollständig gefüllt sein
|
||||
if (placed >= 1){
|
||||
for (int i = 0; i < 5; i++) {
|
||||
for (int j = 0; j < 5; j++) {
|
||||
TEST_ASSERT_GREATER_OR_EQUAL('A', salad[i][j]);
|
||||
@@ -100,6 +101,7 @@ void test_createWordSalad_too_small(void) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void test_createWordSalad_allWordsPlaced() {
|
||||
char words[3][MAX_WORD_LEN] = {"CAT", "DOG", "MOUSE"};
|
||||
|
||||
Reference in new issue
Block a user