使用Xcode V7.2。尝试进行单元测试时,需要验证是否设置了正确的颜色,并得到以下消息:
Cannot invoke 'XCTAssertEqual' with an argument list of type '(CGColor, CGColor)'
我如何断言CGColor应该是什么?
unit-testing ios swift
ios ×1
swift ×1
unit-testing ×1