Skip to content

Commit

Permalink
Adjust tests
Browse files Browse the repository at this point in the history
  • Loading branch information
juliohm committed Jan 14, 2025
1 parent 3addfef commit 1109757
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/theoretical/transiogram.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@

# identity matrix at lag zero
for t in ts
@test t(0.0) == I(2)
@test isapprox(t(0.0), [1.0 0.0; 0.0 1.0], atol=1e-5)
end

# converge to proportions
for t in ts
@test t(1000.0) [0.5 0.5; 0.5 0.5]
@test isapprox(t(1000.0), [0.5 0.5; 0.5 0.5], atol=1e-5)
end

# pairwise evaluation
Expand Down

0 comments on commit 1109757

Please sign in to comment.