Hi,
I'm having problems with week 7 exercise 07 on course Programming with java part 2.
I'm stuck at 70% and when i run tests locally it takes about 2 minutes to end. The first fail test is:
FAIL: TextUserInterfaceTest startMethod
timeout
Also, it's strange because if i add to the main class this code
String input = "add\n" + "cheese\n" + "juusto\n" +
"add\n" + "bier\n" + "olut\n" +
"add\n" + "book\n" + "kirja\n" +
"add\n" + "computer\n" + "tietokone\n" +
"add\n" + "auto\n" + "car\n" +
"quit\n";
Scanner reader = new Scanner(input);
and the run the execution the output is
Statement:
add - adds a word pair to the dictionary
translate - asks a word and prints its translation
quit - quits the text user interface
Statement:
and it wait for my input
Best regards