### Question:
Triangle implements Shape { public String draw() { StringBuilder pic = new StringBuilder(); pic.append(" † "); pic.append(" ††† "); pic.append(" †††††† "); pic.append("†††††††††"); return pic.toString(); }  String draw();  }### Answer:
@Test public void whenDrawSquare() { Triangle triangle = new Triangle(); assertThat( triangle.draw(), is( new StringBuilder() .append(" † ") .append(" ††† ") .append(" †††††† ") .append("†††††††††") .toString() ) ); }