Changeset 112 for trunk/tests/color.py
- Timestamp:
- 10/28/08 16:28:25 (4 years ago)
- Files:
-
- 1 modified
-
trunk/tests/color.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/color.py
r85 r112 87 87 def test_autoLighting(self): 88 88 """This test ensures that the colors don't get to white too fast. 89 89 90 90 See bug #8. 91 91 """ … … 95 95 color = '#ff0000' 96 96 scheme = pycha.color.generateColorscheme(color, keys) 97 97 98 98 # ensure that the last color is not completely white 99 99 color = scheme[n-1] … … 101 101 self.assertNotAlmostEqual(color[1], 1.0, 4) 102 102 self.assertNotAlmostEqual(color[2], 1.0, 4) 103 103 104 104 def test_suite(): 105 105 return unittest.TestSuite((
