### Question:
TileSetCoordinateSpace { public double tileHeightInMapUnits() { Dimension dim = tileDimension; return unitsPerPixel * dim.getHeight(); } TileSetCoordinateSpace(Point<C2D> origin, Dimension tileDimension, Envelope<C2D> extent, double unitsPerPixel); Envelope<C2D> boundingBox(TileCoordinate coordinate); PixelRange tilePixelRange(TileCoordinate coordinate); Dimension tileSetPixelDimension(); double tileWidthInMapUnits(); double tileHeightInMapUnits(); TileCoordinate tileCoordinateContaining(Point<C2D> point, boolean lowerLeftInclusive); double unitsPerPixel(); PixelRange pixelRange(Envelope<C2D> bbox); Pixel toPixel(Point<C2D> point); Point<C2D> toPoint(Pixel pixel);  }### Answer:
@Test public void test_tileHeight_In_MapUnits() { TileSetCoordinateSpace tcs = new TileSetCoordinateSpace(point(crs, c(500, 500)), new Dimension(20, 40), new Envelope<>(0, 0, 1000, 5000,crs), 10); double received = tcs.tileHeightInMapUnits(); assertEquals(400.0, received, 0.00001); }