예제 #1
0
 @Test
 public void testGenerateName4() {
   zone = new ZoneModel();
   zone.generateNameFromPosition(28, 28);
   assertEquals(Zone.CORRIDOR_NAME + "AC29", zone.getName());
 }
예제 #2
0
 @Test
 public void testGenerateName5() {
   zone = new ZoneModel();
   zone.generateNameFromPosition(100, 702);
   assertEquals(Zone.CORRIDOR_NAME + "AAA101", zone.getName());
 }
예제 #3
0
 @Test
 public void testGenerateName2() {
   zone = new ZoneModel();
   zone.generateNameFromPosition(5, 25);
   assertEquals(Zone.CORRIDOR_NAME + "Z6", zone.getName());
 }