|
|
@@ -62,7 +62,7 @@ public final class DiamondPrinterTest {
|
|
62
|
62
|
@Ignore
|
|
63
|
63
|
@Test
|
|
64
|
64
|
public void testFullDiamond() {
|
|
65
|
|
- List<String> output = new DiamondPrinter().printToList('Z');
|
|
|
65
|
+ List<String> output = diamondPrinter.printToList('Z');
|
|
66
|
66
|
assertThat(output, is(asList(" A ",
|
|
67
|
67
|
" B B ",
|
|
68
|
68
|
" C C ",
|