Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ColorValue>>hex fixes #87

Closed
GoogleCodeExporter opened this issue Mar 25, 2015 · 5 comments
Closed

ColorValue>>hex fixes #87

GoogleCodeExporter opened this issue Mar 25, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

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

Original issue reported on code.google.com by philippe...@gmail.com on 5 Jul 2008 at 7:39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant