### Question:
RegularGridImpl extends RectilinearGridImpl implements RegularGrid, Serializable { public RegularGridImpl(RegularAxis xAxis, RegularAxis yAxis, CoordinateReferenceSystem crs) { super(xAxis, yAxis, crs); } RegularGridImpl(RegularAxis xAxis, RegularAxis yAxis, CoordinateReferenceSystem crs);  RegularGridImpl(BoundingBox bbox, int width, int height);  RegularGridImpl(double[] bbox, CoordinateReferenceSystem crs, int width, int height);  RegularGridImpl(double minx, double miny, double maxx, double maxy,
            CoordinateReferenceSystem crs, int width, int height); @Override RegularAxis getXAxis(); @Override RegularAxis getYAxis();  }### Answer:
@Test public void regularGridImplTest() { BoundingBox bbox = new BoundingBoxImpl(100.0, 20.0, 120.0, 50.0, crs); RegularGrid grid = new RegularGridImpl(bbox, 20, 30); double resolutionX = (bbox.getMaxX() - bbox.getMinX()) / grid.getXSize(); double resolutionY = (bbox.getMaxY() - bbox.getMinY()) / grid.getYSize(); RegularAxis longside = new RegularAxisImpl("Geodetic longitude", 100.5, resolutionX, grid.getXSize(), true); RegularAxis latside = new RegularAxisImpl("Geodetic latitude", 20.5, resolutionY, grid.getYSize(), false); assertTrue(grid.getXAxis().equals(longside)); assertTrue(grid.getYAxis().equals(latside)); }