Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

Commit

Permalink
🟢 fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tpoisot committed Mar 24, 2021
1 parent fa8041d commit 3198306
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/dataread.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ using SimpleSDMLayers
using Test

file = joinpath(dirname(pathof(SimpleSDMLayers)), "..", "data", "connectivity.tiff")
struct MyConnectivityMap <: SimpleSDMLayers.SimpleSDMSource end
SimpleSDMLayers.latitudes(::Type{MyConnectivityMap}) = (-10.0, 10.0)
SimpleSDMLayers.longitudes(::Type{MyConnectivityMap}) = (-20.0, 20.0)
mp = SimpleSDMLayers.raster(SimpleSDMResponse, MyConnectivityMap(), file)
mp = geotiff(SimpleSDMResponse, file)

@test typeof(mp) <: SimpleSDMResponse
@test size(mp) == (1255, 1206)
Expand Down

0 comments on commit 3198306

Please sign in to comment.