We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
std::function
1 parent 7645a40 commit 8fee0afCopy full SHA for 8fee0af
test/Interop/Cxx/stdlib/use-std-function.swift
@@ -13,15 +13,15 @@ import CxxStdlib
13
14
var StdFunctionTestSuite = TestSuite("StdFunction")
15
16
-StdFunctionTestSuite.test("FunctionIntToInt init empty") {
+StdFunctionTestSuite.test("FunctionIntToInt.init()") {
17
let f = FunctionIntToInt()
18
expectTrue(isEmptyFunction(f))
19
20
let copied = f
21
expectTrue(isEmptyFunction(copied))
22
}
23
24
-StdFunctionTestSuite.test("FunctionIntToInt call") {
+StdFunctionTestSuite.test("FunctionIntToInt.callAsFunction") {
25
let f = getIdentityFunction()
26
expectEqual(123, f(123))
27
0 commit comments