jeudi 31 décembre 2015

Swift Unit test- How do I assert that a CGColor is what it's supposed to be?

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?

Aucun commentaire:

Enregistrer un commentaire