update color-blind filters tests post bac24cd844

This commit is contained in:
Artem Pavlenko 2018-02-20 12:04:46 +01:00
parent bac24cd844
commit c5e91a5c1e

View file

@ -1,4 +1,3 @@
#include "catch.hpp" #include "catch.hpp"
// mapnik // mapnik
@ -482,7 +481,7 @@ SECTION("test color-blind-protanope") {
CHECK(im(0,0) == 0xff9a4a00); CHECK(im(0,0) == 0xff9a4a00);
CHECK(im(0,1) == 0xff006e7c); CHECK(im(0,1) == 0xff006e7c);
CHECK(im(1,0) == 0xffd9f6ff); CHECK(im(1,0) == 0xff00f7ff);
CHECK(im(1,1) == 0xff1d7e8e); CHECK(im(1,1) == 0xff1d7e8e);
} // END SECTION } // END SECTION
@ -499,7 +498,7 @@ SECTION("test color-blind-deuteranope") {
CHECK(im(0,0) == 0xff824f00); CHECK(im(0,0) == 0xff824f00);
CHECK(im(0,1) == 0xff1c688b); CHECK(im(0,1) == 0xff1c688b);
CHECK(im(1,0) == 0xffe9f5ff); CHECK(im(1,0) == 0xff27e9ff);
CHECK(im(1,1) == 0xff0077a0); CHECK(im(1,1) == 0xff0077a0);
} // END SECTION } // END SECTION
@ -516,7 +515,7 @@ SECTION("test color-blind-tritanope") {
CHECK(im(0,0) == 0xff595500); CHECK(im(0,0) == 0xff595500);
CHECK(im(0,1) == 0xff80763a); CHECK(im(0,1) == 0xff80763a);
CHECK(im(1,0) == 0xfff8f3ff); CHECK(im(1,0) == 0xfffeecff);
CHECK(im(1,1) == 0xff0017fd); CHECK(im(1,1) == 0xff0017fd);
} // END SECTION } // END SECTION