Exemplo n.º 1
0
 @Test
 public void theMapStringsAreOfCorrectLength() {
   for (String s : wls.getLayoutString()) {
     assertTrue(s + " was incorrect", s.length() == GameConstants.WORLDSIZE);
   }
 }
Exemplo n.º 2
0
 @Test
 public void theMapIsOfReasonablySize() {
   assertEquals(wls.getLayoutString().length, GameConstants.WORLDSIZE);
 }