Skip to content

Commit

Permalink
collect tuples
Browse files Browse the repository at this point in the history
  • Loading branch information
xzackli committed Feb 27, 2022
1 parent 4d3cd07 commit 5dd2418
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_io.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
imap = read_map("data/test.fits"; trim=trim)
@test size(imap) == (100, 100, 3)
@test imap.wcs.naxis == 2
@test imap.wcs.cdelt == [-1, 1]
@test imap.wcs.crval == [0.5, 0.0]
@test collect(imap.wcs.cdelt) == [-1, 1]
@test collect(imap.wcs.crval) == [0.5, 0.0]
@test sum(imap) 14967.2985
# read with sel
imap = read_map("data/test.fits", sel=(11:20,21:40,1:2); trim=trim)
Expand Down

0 comments on commit 5dd2418

Please sign in to comment.