File tree 2 files changed +11
-2
lines changed
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1
1
import XCTest
2
2
3
3
class ShellSortTests : XCTestCase {
4
+ func testSwift4( ) {
5
+ // last checked with Xcode 9.0b4
6
+ #if swift(>=4.0)
7
+ print ( " Hello, Swift 4! " )
8
+ #endif
9
+ }
10
+
4
11
func testShellSort( ) {
5
12
checkSortAlgorithm { ( a: [ Int ] ) -> [ Int ] in
6
13
var b = a
Original file line number Diff line number Diff line change 178
178
ONLY_ACTIVE_ARCH = YES;
179
179
SDKROOT = macosx;
180
180
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
181
+ SWIFT_VERSION = 4.0;
181
182
};
182
183
name = Debug;
183
184
};
214
215
MACOSX_DEPLOYMENT_TARGET = 10.11;
215
216
MTL_ENABLE_DEBUG_INFO = NO;
216
217
SDKROOT = macosx;
218
+ SWIFT_VERSION = 4.0;
217
219
};
218
220
name = Release;
219
221
};
225
227
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
226
228
PRODUCT_BUNDLE_IDENTIFIER = swift.algorithm.club.Tests;
227
229
PRODUCT_NAME = "$(TARGET_NAME)";
228
- SWIFT_VERSION = 3 .0;
230
+ SWIFT_VERSION = 4 .0;
229
231
};
230
232
name = Debug;
231
233
};
237
239
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
238
240
PRODUCT_BUNDLE_IDENTIFIER = swift.algorithm.club.Tests;
239
241
PRODUCT_NAME = "$(TARGET_NAME)";
240
- SWIFT_VERSION = 3 .0;
242
+ SWIFT_VERSION = 4 .0;
241
243
};
242
244
name = Release;
243
245
};
You can’t perform that action at this time.
0 commit comments