Skip to content

Commit 9cb346a

Browse files
authored
Fixing test for 3.4 challenge
Made input values shorter so that each input is one letter.
1 parent 0f0cac9 commit 9cb346a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

_sources/Unit3-If-Statements/topic-3-4-else-ifs.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -445,11 +445,11 @@ In a game like Adventure, else if statements can be used to respond to commands
445445
}
446446

447447
private static int goal = 5;
448-
private static String input1 = "n s e w y y y y y y y y y y y y y y";
449-
private static String input2 = "s e w y n y y y y y y y y y y y y y";
450-
private static String input3 = "e w y n s y y y y y y y y y y y y y";
451-
private static String input4 = "w y n s e y y y y y y y y y y y y y";
452-
private static String input5 = "y n s e w y y y y y y y y y y y y y";
448+
private static String input1 = "n"; // s e w y y y y y y y y y y y y y y";
449+
private static String input2 = "s"; // e w y n y y y y y y y y y y y y y";
450+
private static String input3 = "e"; // w y n s y y y y y y y y y y y y y";
451+
private static String input4 = "w"; // y n s e y y y y y y y y y y y y y";
452+
private static String input5 = "y"; // n s e w y y y y y y y y y y y y y";
453453
private String output1, output2, output3, output4, output5;
454454

455455
@Test

0 commit comments

Comments
 (0)