Remove println
This commit is contained in:
parent
6c645a5264
commit
fd53930980
1 changed files with 0 additions and 6 deletions
|
@ -50,9 +50,7 @@ public class TextLineWrapTest
|
||||||
wordWidth = (int) wordBounds.getWidth();
|
wordWidth = (int) wordBounds.getWidth();
|
||||||
wordHeight = (int) wordBounds.getHeight();
|
wordHeight = (int) wordBounds.getHeight();
|
||||||
wordsPerLine = imageSize / (wordWidth + spaceWidth);
|
wordsPerLine = imageSize / (wordWidth + spaceWidth);
|
||||||
System.out.println("wordsPerLine = " + wordsPerLine);
|
|
||||||
linesPerBox = imageSize / wordHeight;
|
linesPerBox = imageSize / wordHeight;
|
||||||
System.out.println("linesPerBox = " + linesPerBox);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private Rectangle2D stringBounds(
|
private Rectangle2D stringBounds(
|
||||||
|
@ -253,9 +251,7 @@ public class TextLineWrapTest
|
||||||
public void fitMaxLinesInFirstBox() {
|
public void fitMaxLinesInFirstBox() {
|
||||||
String oneLinesWorthOfWords = words(wordsPerLine, WORD);
|
String oneLinesWorthOfWords = words(wordsPerLine, WORD);
|
||||||
String input = words(linesPerBox, oneLinesWorthOfWords);
|
String input = words(linesPerBox, oneLinesWorthOfWords);
|
||||||
System.out.println("input = " + input);
|
|
||||||
List<List<String>> result = invoke(input);
|
List<List<String>> result = invoke(input);
|
||||||
System.out.println("result = " + result);
|
|
||||||
List<String> linesBoxOne = result.get(0);
|
List<String> linesBoxOne = result.get(0);
|
||||||
assertThat(linesBoxOne)
|
assertThat(linesBoxOne)
|
||||||
.hasSize(linesPerBox)
|
.hasSize(linesPerBox)
|
||||||
|
@ -269,9 +265,7 @@ public class TextLineWrapTest
|
||||||
public void overflowMaxPlusOneLinesIntoSecondBox() {
|
public void overflowMaxPlusOneLinesIntoSecondBox() {
|
||||||
String oneLinesWorthOfWords = words(wordsPerLine, WORD);
|
String oneLinesWorthOfWords = words(wordsPerLine, WORD);
|
||||||
String input = words(linesPerBox + 1, oneLinesWorthOfWords);
|
String input = words(linesPerBox + 1, oneLinesWorthOfWords);
|
||||||
System.out.println("input = " + input);
|
|
||||||
List<List<String>> result = invoke(input);
|
List<List<String>> result = invoke(input);
|
||||||
System.out.println("result = " + result);
|
|
||||||
List<String> linesBoxOne = result.get(0);
|
List<String> linesBoxOne = result.get(0);
|
||||||
assertThat(linesBoxOne)
|
assertThat(linesBoxOne)
|
||||||
.hasSize(linesPerBox)
|
.hasSize(linesPerBox)
|
||||||
|
|
Loading…
Reference in a new issue