Package edu.caltech.csn.geocell.converter

Examples of edu.caltech.csn.geocell.converter.BinaryStringConv


    }
  }

  @Test
  public void testGetGeocellSetDoubleDoubleConverterOfT() {
    final BinaryStringConv conv = new BinaryStringConv();
    final Set<String> geocells = GeocellLibrary.getGeocellSet(
        SAN_FRAN.getLatitude(), SAN_FRAN.getLongitude(), conv);
    final GeocellContainer sf = new GeocellContainer(SAN_FRAN, 1);
    for (int i = GeocellLibrary.MIN_USEFUL_RESOLUTION;
        i <= GeocellLibrary.MAX_USEFUL_RESOLUTION;
        i += GeocellLibrary.RESOLUTION_STEP_SIZE) {
      sf.changeResolution(i);
      assertTrue(geocells.contains(conv.fromGeocellContainer(sf)));
    }
  }
View Full Code Here

TOP

Related Classes of edu.caltech.csn.geocell.converter.BinaryStringConv

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.