Closed devxoul closed 7 years ago
This is useful on value types too. Especially in tests:
func testSomeValue() { someValue.do { XCTAssertEqual($0.property1, value1) XCTAssertEqual($0.property2, value2) XCTAssertNil($0.property3) } }
This is useful on value types too. Especially in tests: