Splitted print class into printUnformated and printFormated.

And fixed errors in print Unformated
This commit is contained in:
Leonardo Brandenberger committed 2021-11-05 16:29:29 +01:00
1 parent a65f1192a2
commit 7ac12a8ad5
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ public class TextOutput {
}
System.out.print(word + " ");
currentLength += word.length() + 1;
}
}
}
System.out.println(); //added
}
+1 -1
View File
@@ -15,7 +15,7 @@ class TextOutputTest {
public void setup(){
textOutput = new TextOutput();
textOutput.formatFix(9);
//textOutput.formatRaw();
textOutput.formatRaw();
text = new ArrayList<>();
text.add("123456789");
text.add("1234");