diff --git a/src/Tests/Provider/GeoTIFF/SRTM4ProviderTest.php b/src/Tests/Provider/GeoTIFF/SRTM4ProviderTest.php index 9572ecb..43a20dc 100644 --- a/src/Tests/Provider/GeoTIFF/SRTM4ProviderTest.php +++ b/src/Tests/Provider/GeoTIFF/SRTM4ProviderTest.php @@ -197,9 +197,8 @@ public function testUnknownValuesSavedAs65535() { $this->checkFile('srtm_38_02.tif'); - $this->assertEquals( - [3], - $this->Provider->getElevations([54.44702], [9.875502]) - ); + $elevations = $this->Provider->getElevations([54.44702], [9.875502]); + $this->assertLessThan(100, $elevations[0]); + $this->assertGreaterThan(0, $elevations[0]); } }