Skip to content

Commit

Permalink
More updates to the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
natgeo-wong committed Sep 7, 2024
1 parent 5c006e3 commit a6ea82f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ end

@testset "Test Creation, Detection and Removal of GeoRegions" begin

@test !isGeoRegion("TRP",throw=false)
@test !isID("TRP",throw=false)
geo1 = RectRegion("TRP","GLB","Tropics",[30,-30,360,0])
geo2 = RectRegion("TRP_DTP","GLB","Deep Tropics",[10,-10,360,0])
@test isID("TRP",throw=false)
Expand All @@ -41,8 +41,8 @@ end
@test isID("TRP",path=pwd(),throw=false)
@test isGeoRegion(geo1,throw=false)
@test !isGeoRegion(geo1,path=homedir(),throw=false)
@test ! (rm(geo1,path=homedir()) === nothing)
@test rm(geo1) === nothing
@test !(rm(geo1,path=homedir()) === nothing)
@test rm(geo1) === nothing
@test !isGeoRegion(geo1,throw=false)

end
Expand Down

0 comments on commit a6ea82f

Please sign in to comment.