GSoC/GCI Archive
Google Code-in 2012 Copyleft Games Group

PySoy: Atomics: Color Compare

completed by: Willie Zhu

mentors: Amaury Medeiros, Arc Riley, Tony Young, David Czech, Mayank Singh

Color comparisons are only currently supported for == and !=. Combine these into a single method which takes an operator (enum EQ, NE, GT, LT, etc) and applies it to all four components, returning true when all four tests pass.

Update PySoy and PySoy's unit tests to this new API, also dd a few more tests for the new comparison operators.

While working on this task you should join and remain in #PySoy on Freenode to get help, feedback, and guidance from mentors and other developers. Code updates which may affect your work are also announced here as they happen.

When you've done, commit your work and post the resulting changeset url to this task.