Index: tests/PMFloatTest.cpp |
diff --git a/tests/PMFloatTest.cpp b/tests/PMFloatTest.cpp |
index c3d5e48b4dd6e5eec107d208947d442043b11e45..5b53fc659f6f937958a066b3d31b91ea3c7631e2 100644 |
--- a/tests/PMFloatTest.cpp |
+++ b/tests/PMFloatTest.cpp |
@@ -11,8 +11,8 @@ DEF_TEST(SkPMFloat, r) { |
REPORTER_ASSERT(r, SkScalarNearlyEqual( 51.0f, pmf.b())); |
REPORTER_ASSERT(r, c == pmf.get()); |
- // Test rounding. (Don't bother testing .5... we don't care which way it goes.) |
- pmf = SkPMFloat(254.6f, 204.3f, 153.1f, 50.8f); |
+ // Test rounding. |
+ pmf = SkPMFloat(254.5f, 203.5f, 153.1f, 50.8f); |
REPORTER_ASSERT(r, c == pmf.get()); |
// Test clamping. |