Skip to content

Commit

Permalink
test: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cpaniaguam committed Nov 14, 2024
1 parent 766a17b commit 9d6c699
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions test/test-conditional-adaptive-histeq.jl
Original file line number Diff line number Diff line change
Expand Up @@ -99,22 +99,20 @@ function test_histeq()
255 255 255
],
]
_exp = [
128 128 128
255 255 255
]
expected = [
[
6 6 6 6 6
2 6 7 6 2
2 7 7 7 2
2 6 7 6 2
6 6 6 6 6
],
[
2 2 2
3 3 3
],
[
128 128 128
255 255 255
204 204 204 204 204
61 204 255 204 61
61 255 255 255 61
61 204 255 204 61
204 204 204 204 204
],
_exp,
_exp,
]

@test all(IceFloeTracker.histeq(imgs[i]) == expected[i] for i in 1:3)
Expand Down

0 comments on commit 9d6c699

Please sign in to comment.