Skip to content

Commit

Permalink
Add failing test case to reproduce an issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kostrykin committed Apr 22, 2024
1 parent 4631aaa commit bb0a4ea
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tools/2d_auto_threshold/auto_threshold.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,13 @@
<param name="invert_output" value="True"/>
<expand macro="tests/binary_image_diff" name="output" value="out4.tif" ftype="tiff"/>
</test>
<!-- Tests for irregular files -->
<test>
<param name="input" value="sample2.tif"/>
<param name="method_id" value="otsu"/>
<param name="invert_output" value="False"/>
<expand macro="tests/binary_image_diff" name="output" value="out5.tif" ftype="tiff"/>
</test>
<!-- Tests for multi-channel images -->
<test expect_failure="true">
<param name="input" value="rgb.png"/>
Expand Down
Binary file added tools/2d_auto_threshold/test-data/out5.tif
Binary file not shown.
Binary file added tools/2d_auto_threshold/test-data/sample2.tif
Binary file not shown.

0 comments on commit bb0a4ea

Please sign in to comment.