Skip to content

Commit

Permalink
test: give "a dither" roundtrip tests better descr
Browse files Browse the repository at this point in the history
  • Loading branch information
dbohdan committed Oct 1, 2023
1 parent 2a50f62 commit 2a5c525
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion hicolor.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ static const double hicolor_bayer[HICOLOR_BAYER_SIZE * HICOLOR_BAYER_SIZE] = {
42.0/64, 26.0/64, 38.0/64, 22.0/64, 41.0/64, 25.0/64, 37.0/64, 21.0/64
};


typedef enum hicolor_version {
HICOLOR_VERSION_5,
HICOLOR_VERSION_6
Expand Down
4 changes: 2 additions & 2 deletions tests/hicolor.test
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,12 @@ tcltest::test data-integrity-1.2 {roundtrip} -constraints gm -body {
exec gm compare -metric rmse photo.png temp.png
} -match regexp -result {Total: 0.0[12]}

tcltest::test data-integrity-2.1 {roundtrip, a dither} -constraints gm -body {
tcltest::test data-integrity-2.1 {roundtrip with "a dither"} -constraints gm -body {
hicolor decode photo-a-dither.hi5 temp.png
exec gm compare -metric rmse photo.png temp.png
} -match regexp -result {Total: 0.0[12]}

tcltest::test data-integrity-2.2 {roundtrip, a dither} -constraints gm -body {
tcltest::test data-integrity-2.2 {roundtrip with "a dither"} -constraints gm -body {
hicolor decode photo-a-dither.hi6 temp.png
exec gm compare -metric rmse photo.png temp.png
} -match regexp -result {Total: 0.0[12]}
Expand Down

0 comments on commit 2a5c525

Please sign in to comment.