Last active
July 24, 2018 12:15
-
-
Save truizlop/080bd962cf8d6f8d6e8cd6be841ba372 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func testStringConcat() { | |
let a = "Hello, " | |
let b = "World!" | |
let result = "Hello, World!" | |
XCTAssertEqual(result, concat(first: a, second: b)) | |
let c = "Another " | |
let d = "example" | |
let result2 = "Another example" | |
XCTAssertEqual(result2, concat(first: c, second: d)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment