GridCellGeometry { public int getCellCountX() { return xCellCount; } GridCellGeometry(GridCoordSystem gridCoordSystem); GridCoordSystem getGridCoordSystem(); CoordinateReferenceSystem getGridCRS(); int getCellCountX(); int getCellCountY(); int getCellCount(); Geometry getCellGeometry(int xIndex, int yIndex); final int calculateYXIndex(int xIndex, int yIndex);  }
@Test public void testGeometryCellCountX() { assertEquals("The geometry should have equal X to dataset", gcg.getCellCountX(), X_SIZE); }