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