Skip to content

Commit 9fdff98

Browse files
authored
Update runtests.jl
1 parent 3c92184 commit 9fdff98

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/runtests.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,22 @@ function test_model_interface(K)
2323
m = K(12, 13, 10)
2424
@test m == K((12, 13), 10) == K(SA[12, 13], 10)
2525
@test size(m) == (31, 31)
26-
@test axes(m) == (-3:27, -2:28)
26+
@test axes(m) == (-2:28, -3:27)
2727
@test m.pos SA[12, 13]
2828
@test eltype(m) == Float64
2929

3030
# test diagonal fwhm
3131
m = K((10, 9))
3232
@test m == K((10, 9)) == K(SA[10, 9])
3333
@test size(m) == (31, 29)
34-
@test axes(m) == (-15:15, -14:14)
34+
@test axes(m) == (-14:14, -15:15)
3535
@test m.pos SA[0, 0]
3636
@test eltype(m) == Float64
3737

3838
# test different maxsize
3939
m = K((10, 9); maxsize=2)
4040
@test size(m) == (21, 19)
41-
@test axes(m) == (-10:10, -9:9)
41+
@test axes(m) == (-9:9, -10:10)
4242
@test m.pos SA[0, 0]
4343
@test eltype(m) == Float64
4444

@@ -112,4 +112,4 @@ end
112112
wdist = (1/5)^2 + (2/4.5)^2
113113
expected = inv(1 + wdist)
114114
@test m[2, 1] m(1, 2) expected
115-
end
115+
end

0 commit comments

Comments
 (0)