         }
 
         let curried = curry(five)
-        let result = curried("a")(2)(3.0)(ReferenceType(value:4.0))(ValueType(value: 5))
-
-        XCTAssertEqual(digitSum(of:5), result)
+        let result = curried("a")(2)(3.0)(ReferenceType(value: 4.0))(ValueType(value: 5))
+
+        XCTAssertEqual(digitSum(of: 5), result)
     }
 
     // swiftlint:disable function_parameter_count

        }

        let curried = curry(six)
        let result = curried("a")(2)(3.0)(ReferenceType(value:4.0))(ValueType(value: 5))(true)

        XCTAssertEqual(digitSum(of:6), result)
    }

    // MARK: Increasing numbers of string parameters.

        let curried = curry(three)
        let result = curried("a")(2)

        XCTAssertEqual(digitSum(of: 2), result)
    }

    func testThreeDistinctParams() {
