Skip to content

Commit 7832ba3

Browse files
authored
Add test for #98; Version 1.8.4 (#101)
1 parent 4a6f7ea commit 7832ba3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ImageSegmentation"
22
uuid = "80713f31-8817-5129-9cf8-209ff8fb23e1"
3-
version = "1.8.3"
3+
version = "1.8.4"
44

55
[deps]
66
Clustering = "aaaa29a8-35af-508c-8bc3-b662a17a0fe5"

test/region_growing.jl

+2
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,8 @@ end
269269
@test expected_means == seg.segment_means
270270
@test seg.image_indexmap == expected
271271

272+
@test_throws ArgumentError unseeded_region_growing(img, NaN, (3,3))
273+
272274
# 3-d image
273275
img = zeros(RGB{N0f8},(9,9,9))
274276
img[3:7,3:7,3:7] .= RGB{N0f8}(0.5,0.5,0.5)

0 commit comments

Comments
 (0)