Skip to content

Commit

Permalink
Fix tests for float TIFF in scale_image tool
Browse files Browse the repository at this point in the history
  • Loading branch information
kostrykin committed Mar 20, 2024
1 parent a4faa4e commit acd17d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/scale_image/scale_image.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@
<test>
<param name="input" value="input2_normalized.tiff"/>
<param name="scale" value="0.5"/>
<output name="output" value="normalized.tiff" ftype="tiff" compare="sim_size" delta_frac="0.01"/><!-- Looks like pillow cannot read float TIFFs -->
<expand macro="tests/intensity_image_diff" name="output" value="normalized.tiff" ftype="tiff"/>
</test>
<!-- Test TIFF, not normalized -->
<test>
<param name="input" value="input3_not_normalized.tiff"/>
<param name="scale" value="0.5"/>
<output name="output" value="not_normalized.tiff" ftype="tiff" compare="sim_size" delta_frac="0.01"/><!-- Looks like pillow cannot read float TIFFs -->
<expand macro="tests/intensity_image_diff" name="output" value="not_normalized.tiff" ftype="tiff"/>
</test>
</tests>
<help>
Expand Down

0 comments on commit acd17d1

Please sign in to comment.