Exemplo n.º 1
0
 @Test(expected = UnsupportedOperationException.class)
 public void testDIstanceTo() {
   vor.distanceTo(
       new VORImpl(
           "name2",
           new PositionImpl(
               new LatitudeImpl(60, 25, 52, CompassDirection.NORTH),
               new LongitudeImpl(60, 25, 52, CompassDirection.EAST))));
 }
Exemplo n.º 2
0
 @Test
 public void testGetName() {
   assertEquals(vor.getName(), "name");
 }