Current File : //opt/imh-python/lib/python2.7/test/test_colorsys.pyo
�
��Wc@siddlZddlZddlZd�Zdejfd��YZd�Zedkree�ndS(i����Nccs&x||kr!|V||7}qWdS(N((tstarttstoptstep((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_colorsys.pytfrangestColorsysTestcBs5eZd�Zd�Zd�Zd�Zd�ZRS(cCsx|jt|�d�|jt|�d�|j|d|d�|j|d|d�|j|d|d�dS(Niiii(tassertEqualtlentassertAlmostEqual(tselfttr1ttr2((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_colorsys.pytassertTripleEquals
cCs�x�tddd�D]q}xhtddd�D]T}xKtddd�D]7}|||f}|j|tjtj|���qEWq,WqWdS(Ngg�?g�������?(RRtcolorsyst
hsv_to_rgbt
rgb_to_hsv(Rtrtgtbtrgb((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_colorsys.pyttest_hsv_roundtripscCs�d
dfdddddffd
ddddffdddddffddfdddddffdddddffddfddfg	}xF|D]>\}}|j|tj|��|j|tj|��q�WdS(Ngig�?g@g@g@g@g@g�?(ggg(igg(ggg�?(gg�?g(gg�?g�?(g�?gg(ig�?g�?(g�?gg�?(g�?g�?g(g�?g�?g�?(igg�?(g�?g�?g�?(igg�?(RRRR
(RtvaluesRthsv((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_colorsys.pyttest_hsv_valuess			cCs�x�tddd�D]q}xhtddd�D]T}xKtddd�D]7}|||f}|j|tjtj|���qEWq,WqWdS(Ngg�?g�������?(RRRt
hls_to_rgbt
rgb_to_hls(RRRRR((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_colorsys.pyttest_hls_roundtrip-scCs�d
dfdddddffd
ddddffdddddffddfdd	dddffdddddffddfddfg	}xF|D]>\}}|j|tj|��|j|tj|��q�WdS(Ngig�?g@g@g�?g@g@g@(ggg(igg(ggg�?(gg�?g(gg�?g�?(g�?gg(ig�?g�?(g�?gg�?(g�?g�?g(g�?g�?g�?(ig�?g(g�?g�?g�?(ig�?g(RRRR(RRRthls((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_colorsys.pyttest_hls_values7s			(t__name__t
__module__RRRRR(((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_colorsys.pyR	s
		
		
cCstjjt�dS(N(ttestttest_supporttrun_unittestR(((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_colorsys.pyt	test_mainHst__main__(	tunittestttest.test_supportRRRtTestCaseRR!R(((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_colorsys.pyt<module>s	?