diff --git a/src/TextOutput.java b/src/TextOutput.java index 4b5c46e..c52739a 100644 --- a/src/TextOutput.java +++ b/src/TextOutput.java @@ -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"); + } } diff --git a/test/TextOutputTest.java b/test/TextOutputTest.java index 57bb624..17d72b9 100644 --- a/test/TextOutputTest.java +++ b/test/TextOutputTest.java @@ -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");