]> granicus.if.org Git - postgis/commitdiff
fix up cunit test
authorBborie Park <bkpark at ucdavis.edu>
Sat, 24 Jan 2015 17:43:19 +0000 (17:43 +0000)
committerBborie Park <bkpark at ucdavis.edu>
Sat, 24 Jan 2015 17:43:19 +0000 (17:43 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13200 b70326c6-7e19-0410-871a-916f4a2858ee

raster/test/cunit/cu_band_basics.c

index 3acb45fd2e8aeb53482a03fc62ec01d1fd489ad3..45ada1fa034ba67682647eef2533d79ce8fb5bee 100644 (file)
@@ -128,7 +128,7 @@ static void test_band_metadata() {
        for (x = 0; x < width; x++) {
                for (y = 0; y < height; y++) {
                        CU_ASSERT_EQUAL(rt_band_get_pixel(band, x, y, &val, NULL), ES_NONE);
-                       CU_ASSERT_DOUBLE_EQUAL(val, 255, 1.);
+                       CU_ASSERT_DOUBLE_EQUAL(val, 0, 1.);
                }
        }