[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/libs/pigment/tests
From: Cyrille Berger <cyb () lepi ! org>
Date: 2009-02-17 16:46:37
Message-ID: 1234889197.019037.11473.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 927484 by berger:
fix the test
M +1 -1 KoRgbU8ColorSpaceTester.cpp
--- trunk/koffice/libs/pigment/tests/KoRgbU8ColorSpaceTester.cpp #927483:927484
@@ -170,7 +170,7 @@
mixOp->mixColors(pixelPtrs, weights, 2, outputPixel);
QVERIFY((int)outputPixel[PIXEL_RED] == 150);
- QVERIFY((int)outputPixel[PIXEL_GREEN] == 150);
+ QCOMPARE((int)outputPixel[PIXEL_GREEN], 149);
QVERIFY((int)outputPixel[PIXEL_BLUE] == 35);
QVERIFY((int)outputPixel[PIXEL_ALPHA] == 255);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic