]> gitweb.factorcode.org Git - factor.git/blob - extra/colors/distances/distances-tests.factor
more test IN: cleanup.
[factor.git] / extra / colors / distances / distances-tests.factor
1 USING: colors colors.distances combinators tools.test ;
2
3 {
4     0x1.05d584e1086dep6 ! 65.45851470579098
5     0x1.37bbbd6552ee2p6 ! 77.93333967512766
6     0x1.1c031c5c4748dp7 ! 142.0060757481591
7     0x1.5aaed5f26115p6 ! 86.6707380172495
8 } [
9     50/255 100/255 200/255 1.0 <rgba>
10     100/255 200/255 50/255 1.0 <rgba>
11     {
12         [ CIEDE2000 ]
13         [ CIE94 ]
14         [ CIE76 ]
15         [ CMC-l:c ]
16     } 2cleave
17 ] unit-test