@@ -0,0 +1,682 @@
+import terminal%0A%0A%0Adef test_colorize():%0A    print(terminal.colorize('foo', 'red'))%0A    print(terminal.colorize('foo', '#ff0000'))%0A    print(terminal.colorize('foo', 'ff0000'))%0A    print(terminal.colorize('foo', (255, 0, 0)))%0A%0A%0Adef test_colors():%0A    print(terminal.cyan('cyan color'))%0A    print(terminal.blue('blue color'))%0A    print(terminal.yellow('yellow color'))%0A    print(terminal.magenta('magenta color'))%0A    print(terminal.red(terminal.green('green color')))%0A%0A%0Adef test_styles():%0A    print(terminal.bold('bold style'))%0A    print(terminal.bold(terminal.underline('bold and underline style')))%0A%0A%0Adef test_color():%0A    c = terminal.Color('text')%0A    print(c.bold.red.underline)%0A

test case for color