Skip to content

Commit

Permalink
Add failing test case
Browse files Browse the repository at this point in the history
  • Loading branch information
kostrykin committed Sep 24, 2024
1 parent 4e4d82d commit 39529ed
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tools/colorize_labels/colorize_labels.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
<data format="png" name="output" from_work_dir="output.png" />
</outputs>
<tests>
<!-- int64 -->
<test>
<param name="input" value="input1.tif" />
<param name="radius" value="1" />
Expand All @@ -52,6 +53,7 @@
<has_image_channels channels="3"/>
</expand>
</test>
<!-- uint8 -->
<test>
<param name="input" value="input2.tif" />
<param name="radius" value="10" />
Expand All @@ -61,6 +63,16 @@
<has_image_channels channels="3"/>
</expand>
</test>
<!-- uint16 -->
<test>
<param name="input" value="input3.tif" />
<param name="radius" value="100" />
<param name="bg_label" value="0" />
<param name="bg_color" value="#ffffff" />
<expand macro="tests/intensity_image_diff" name="output" value="output3.png" ftype="png">
<has_image_channels channels="3"/>
</expand>
</test>
</tests>
<help>

Expand Down
Binary file added tools/colorize_labels/test-data/input3.tif
Binary file not shown.

0 comments on commit 39529ed

Please sign in to comment.