Added unit tests for color conversion

This commit is contained in:
JSCHILL1 2009-05-17 09:27:33 -05:00
parent 56ebc67491
commit 823c8c45e3
6 changed files with 81 additions and 2 deletions

View file

@ -52,7 +52,7 @@ class _EOF(object):
EOF = _EOF()
lexicon = [
('float', r'[-\+]?(?:(?:[0-9]*\.[0-9]+)|(?:[0-9]+\.))(?:[Ee][-\+]?[0-9]+)?'),
('float', r'[-\+]?(?:(?:[0-9]*\.[0-9]+)|(?:[0-9]+\.?))(?:[Ee][-\+]?[0-9]+)?'),
('int', r'[-\+]?[0-9]+'),
('command', r'[AaCcHhLlMmQqSsTtVvZz]'),
]