Using Xcode V7.2. Trying to unit test, need to verify that the correct color has been set, and get this message:
Cannot invoke 'XCTAssertEqual' with an argument list of type '(CGColor, CGColor)'
How do I assert that a CGColor is what it's supposed to be?
Use XCTAssert and test whether CGColorEqualToColor is true.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With