diff --git a/src/GeoRegions.jl b/src/GeoRegions.jl index 8ee73488..7830f290 100644 --- a/src/GeoRegions.jl +++ b/src/GeoRegions.jl @@ -26,7 +26,7 @@ export getLandSea, smooth, smooth!, smoothlsm, - Point2 + in, Point2 ## Abstract types """ diff --git a/test/runtests.jl b/test/runtests.jl index 32c591f5..b369ea95 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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