« Return to Thread: [vwnc] ColorValue>>hex fixes

Re: [vwnc] ColorValue>>hex fixes

by Ralf Propach :: Rate this Message:

Reply to Author | View in Thread

There is already an AR#54117 about ColorValue>>hex,
so the problem is known.

Boris Popov wrote:

> I had to fix ColorValue>>hex today to get the following test case to
> pass without blowing up,
>
> Self assert: (((ColorValue.ColorNames keys asSortedCollection collect:
> [:ea | ColorValue perform: ea]) collect: [:ea | ea hex])
> isSameSequenceAs: #('000000' '0000FF' '7F3F3F' '7FFF00' '00FFFF'
> '007F7F' '5F5F5F' '007F00' '7F007F' '7F0000' '7F7F7F' '00FF00' '7FFFFF'
> 'AAAAAA' 'FFFF7F' 'FF00FF' '00007F' '7F7F00' 'FF7F00' 'FF7FFF' '7FFF7F'
> 'FFBFBF' '9F1FDF' 'FF0000' '7F7FFF' 'FF7F7F' '00FF7F' '3F3F3F' 'D4D4D4'
> 'FFFFFF' 'FFFF00')).
>
> I borrowed from ColorValue>>javascriptOn: and refactored it to call the
> new method. Again, no idea if this is something Cincom folks or the core
> group need to be interested in.
>
> Cheers!
>
> -Boris
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> vwnc mailing list
> vwnc@...
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


--
Ralf Propach, ralf@...
Tel: +49 231 975 99 38   Fax: +49 231 975 99 20
Georg Heeg eK (Dortmund)
Handelsregister: Amtsgericht Dortmund  A 12812
_______________________________________________
vwnc mailing list
vwnc@...
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

 « Return to Thread: [vwnc] ColorValue>>hex fixes

LightInTheBox - Buy quality products at wholesale price!