GridCellGeometry { public int getCellCountY() { return yCellCount; } 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 testGeometryCellCountY() { assertEquals("The geometry should have equal Y to dataset", gcg.getCellCountY(), Y_SIZE); }