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

Unit tests for CCColor #1319

Open
wants to merge 1 commit into
base: v3.4
Choose a base branch
from
Open

Conversation

richardgroves
Copy link
Contributor

Catches the problem that #1318 fixes
And provides a starting point for further tests. Major current functionality not covered is:

  • (CCColor*) initWithHue:(float)hue saturation:(float)saturation brightness:(float)brightness alpha:(float)alpha

and none of the internal color space workings are tested.

Catches the problem that cocos2d#1318 fixes
And provides a starting point for further tests.  Major current functionality not covered is:
- (CCColor*) initWithHue:(float)hue saturation:(float)saturation brightness:(float)brightness alpha:(float)alpha

and none of the internal color space workings are tested.
@richardgroves
Copy link
Contributor Author

They also only do platform specific stuff for iOS - so the NSColor for Mac isn't tested, and the CGColor stuff on non-iOS wont run.

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

Successfully merging this pull request may close these issues.

1 participant