ReferenceUtils { public static int getUlyDirection(String wkt, double llx, double lly){ return 1; } private  ReferenceUtils(); static String enhanceWkt(String wkt); static String getMapUnits(String wkt); static int getUlyDirection(String wkt, double llx, double lly); static boolean compareSpatiallyEquivalent(VortexGrid grid1, VortexGrid grid2); static boolean isShg(GridInfo info);  }
@Test void UlyDirectionReturnsPositiveForUtmSouth(){ String wkt = WktFactory.create("UTM36S"); double llx = 302000.0; double lly = 7080000.0; int direction = ReferenceUtils.getUlyDirection(wkt, llx, lly); assertEquals(1, direction); }
@Test void UlyDirectionReturnsPositiveForShg(){ String wkt = WktFactory.shg(); double x = -1680000; double lly = 102000; int direction = ReferenceUtils.getUlyDirection(wkt, x, lly); assertEquals(1, direction); }