1 ! Copyright (C) 2012 John Benediktsson
2 ! See http://factorcode.org/license.txt for BSD license
4 USING: colors.constants io.streams.256color
5 io.streams.256color.private tools.test ;
7 { 16 } [ COLOR: black color>256color ] unit-test
8 { 196 } [ COLOR: red color>256color ] unit-test
9 { 46 } [ COLOR: green color>256color ] unit-test
10 { 21 } [ COLOR: blue color>256color ] unit-test
11 { 231 } [ COLOR: white color>256color ] unit-test