From 2a5c525dac4d51a582ade6bf1b83e50486e99089 Mon Sep 17 00:00:00 2001 From: "D. Bohdan" Date: Sun, 1 Oct 2023 13:25:52 +0000 Subject: [PATCH] test: give "a dither" roundtrip tests better descr --- hicolor.h | 1 - tests/hicolor.test | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/hicolor.h b/hicolor.h index edce6b0..76959dc 100644 --- a/hicolor.h +++ b/hicolor.h @@ -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 diff --git a/tests/hicolor.test b/tests/hicolor.test index 7d66169..974e8f3 100755 --- a/tests/hicolor.test +++ b/tests/hicolor.test @@ -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]}