Changeset 2537 for trunk/test/unit/color.cpp
- Timestamp:
- Mar 1, 2013, 5:24:25 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/color.cpp
r2432 r2537 124 124 LOLUNIT_SET_CONTEXT(&rgb[0]); 125 125 126 /* Don’t check hue if saturation is zero. */ 126 127 if (r != g || g != b) 127 128 LOLUNIT_ASSERT_DOUBLES_EQUAL(v2.x, v3.x, 0.0001); 128 LOLUNIT_ASSERT_DOUBLES_EQUAL(v2.y, v3.y, 0.0001); 129 /* Don’t check saturation if lightness is zero. */ 130 if (r || g || b) 131 LOLUNIT_ASSERT_DOUBLES_EQUAL(v2.y, v3.y, 0.0001); 129 132 LOLUNIT_ASSERT_DOUBLES_EQUAL(v2.z, v3.z, 0.0001); 130 133
Note: See TracChangeset
for help on using the changeset viewer.