Пример #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);
 }