Skip to content

Commit

Permalink
Fix dynamic test.
Browse files Browse the repository at this point in the history
  • Loading branch information
evetion committed Dec 16, 2023
1 parent 91dd60b commit 36c72f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ empty_bbox = (min_x = 4.0, min_y = 40.0, max_x = 5.0, max_y = 50.0)

# Time
@test length(SpaceLiDAR.search(:ICESat2, :ATL08, after = DateTime(2019, 12, 12), before = DateTime(2019, 12, 13))) == 161
@test length(SpaceLiDAR.search(:ICESat2, :ATL08, before = now() - Year(5))) == 0
@test length(SpaceLiDAR.search(:ICESat2, :ATL08, before = DateTime(2017, 12, 12))) == 0
@test length(SpaceLiDAR.search(:ICESat2, :ATL08, after = now())) == 0
@test_throws ErrorException SpaceLiDAR.search(:ICESat2, :ATL08, after = now() - Month(47), before = now() - Month(48))
end
Expand Down

0 comments on commit 36c72f5

Please sign in to comment.