Skip to content

Commit

Permalink
update tests!
Browse files Browse the repository at this point in the history
  • Loading branch information
natgeo-wong committed Jan 9, 2024
1 parent 7b47a0a commit 3419f8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/GeoRegions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export

getLandSea, smooth, smooth!, smoothlsm,

Point2
in, Point2

## Abstract types
"""
Expand Down
7 changes: 3 additions & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ using Test
C = Point2(-45,-7.5)
geo = GeoRegion("AR6_EAO")

@test A in geo
@test B in geo
@test !(C in geo)
@test filter(in(geo),[A,B,C]) == [A,B]
@test in(A,geo)
@test in(B,geo)
@test !in(C,geo)
end

0 comments on commit 3419f8d

Please sign in to comment.