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