From c5e91a5c1ea87884d89e445ad60d2671295e51b8 Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Tue, 20 Feb 2018 12:04:46 +0100 Subject: [PATCH] update color-blind filters tests post bac24cd844d9f8d66b3937bf2e4ac14704a3658c --- test/unit/imaging/image_filter.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/unit/imaging/image_filter.cpp b/test/unit/imaging/image_filter.cpp index 5329ea4bb..01d6af5d8 100644 --- a/test/unit/imaging/image_filter.cpp +++ b/test/unit/imaging/image_filter.cpp @@ -1,4 +1,3 @@ - #include "catch.hpp" // mapnik @@ -482,7 +481,7 @@ SECTION("test color-blind-protanope") { CHECK(im(0,0) == 0xff9a4a00); CHECK(im(0,1) == 0xff006e7c); - CHECK(im(1,0) == 0xffd9f6ff); + CHECK(im(1,0) == 0xff00f7ff); CHECK(im(1,1) == 0xff1d7e8e); } // END SECTION @@ -499,7 +498,7 @@ SECTION("test color-blind-deuteranope") { CHECK(im(0,0) == 0xff824f00); CHECK(im(0,1) == 0xff1c688b); - CHECK(im(1,0) == 0xffe9f5ff); + CHECK(im(1,0) == 0xff27e9ff); CHECK(im(1,1) == 0xff0077a0); } // END SECTION @@ -516,7 +515,7 @@ SECTION("test color-blind-tritanope") { CHECK(im(0,0) == 0xff595500); CHECK(im(0,1) == 0xff80763a); - CHECK(im(1,0) == 0xfff8f3ff); + CHECK(im(1,0) == 0xfffeecff); CHECK(im(1,1) == 0xff0017fd); } // END SECTION