added method invalidInput

This commit is contained in:
Leonardo Brandenberger 2021-11-11 21:49:39 +01:00
parent 13cbaba268
commit 5040958240
2 changed files with 8 additions and 1 deletions

View File

@ -130,4 +130,11 @@ public class TextOutput {
public void errorInvalidCommand() {
System.err.println("Invalid Command");
}
/**
* Method to give out the Error "Invalid Input".
*/
public void invalidInput() {
System.err.println("Invalid Input");
}
}

View File

@ -17,7 +17,7 @@ class TextOutputTest {
text.add("Virtute praecedunt, quod fere cotidianis proeliis cum Germanis contendunt, septentr ionesimmensoslongusw ordos.");
text.add("Virtutedasjdhashdkjhakjdhakdshjkashd praecedunt, quod fere cotidianis proeliis cum");
//text.add("ordos.");
//text.add("1234");
text.add("1234");
text.add("12417575147517845 445264565");
text.add(" ");
//text.add("1eeeeeee8597389751");