Added unit tests for color conversion
This commit is contained in:
parent
56ebc67491
commit
823c8c45e3
6 changed files with 81 additions and 2 deletions
|
|
@ -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]'),
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue