Skip to content

Instantly share code, notes, and snippets.

@truizlop
Created July 24, 2018 12:19
Show Gist options
  • Save truizlop/c867e437def28ee09ed676433218296a to your computer and use it in GitHub Desktop.
Save truizlop/c867e437def28ee09ed676433218296a to your computer and use it in GitHub Desktop.
func testStringConcat() {
for _ in 0 ..< 100 {
let a = randomString()
let b = randomString()
let expected = a + b
XCTAssertEqual(expected, concat(first: a, second: b))
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment