Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
test
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/test/test_colorsys.pyo
mò ‚=5Dc @ sb d k Z d k Z d k Z d „ Z d e i f d „ ƒ YZ d „ Z e d j o e ƒ n d S( Nc c s' x | | j o | V| | 7} q Wd S( N( t startt stopt step( R R R ( ( t( /usr/lib/python2.4/test/test_colorsys.pyt frange s t ColorsysTestc B s5 t Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( Nc C sx | i t | ƒ d ƒ | i t | ƒ d ƒ | i | d | d ƒ | i | d | d ƒ | i | d | d ƒ d S( Ni i i i ( t selft assertEqualt lent tr1t tr2t assertAlmostEqual( R R R ( ( R t assertTripleEqual s c C sŒ x… t d d d ƒ D]q } xh t d d d ƒ D]T } xK t d d d ƒ D]7 } | | | f } | i | t i t i | Œ Œ ƒ qE Wq, Wq Wd S( Nf0.0f1.0f0.20000000000000001( R t rt gt bt rgbR R t colorsyst hsv_to_rgbt rgb_to_hsv( R R R R R ( ( R t test_hsv_roundtrip s c C sZ d d d f d d d f f d d d f d d d d f f d d d f d d d d f f d d d f d d d d f f d d d f d d d f f d d d f d d d d f f d d d f d d d d f f d d d f d d d f f d d d f d d d f f g } xF | D]>