def METHOD_NAME():
    result = xtgeo.surface_from_file(
        Path(xtgeo.XTGeoDialog().testpathobj / "surfaces" / "etc" / "zmap_example.zmap")
    )
    assert result.xmax == 460718.9063
    assert result.ymax == 5925787.0