XCTAssertEqual (==)

XCTAssertEqual works with types conforming to Equatable.

func testThis() { 
    XCTAssertEqual(myString(3), "abc") 
}

Last updated