Ad
  • Custom User Avatar

    The Swift solution needs updating. Booleans in Swift are not capitalized. The test cases should look like this:
    XCTAssertEqual(booleanToString(true), "true")
    XCTAssertEqual(booleanToString(false), "false")

    Otherwise, the scope of the problem changes.