'''
Unit test file for ../color_randomize.py
--
If you want to help, read the python unittest documentation:
'''
import os
import sys
import unittest
from color_randomize import *
self.e=C()
""" The default ranges are set to 0, and thus the color and opacity should not change. """
args = ['svg/empty-SVG.svg']
self.e=C()
""" The user selected 0% values, and thus the color should not change. """
""" Random hue only. Saturation and lightness not changed. """
""" Random lightness only. Hue and saturation not changed. """
# Lightness change also affects hue and saturation...
#self.assertEqual(0.75, round(hsl[0], 2))
#self.assertEqual(0.48, round(hsl[1], 2))
""" Random saturation only. Hue and lightness not changed. """
""" The maximum hsl values should be between 0 and 100% of their maximum """
self.e=C()
""" The user selected 0% opacity range, and thus the opacity should not change. """
""" The opacity value should be greater than 0 """
""" The opacity value should be lesser than 1 """
""" Non-float opacity value not changed """
if __name__ == '__main__':
#unittest.main()
# vim: expandtab shiftwidth=4 tabstop=8 softtabstop=4 fileencoding=utf-8 textwidth=99