File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ See https://swift.org/LICENSE.txt for license information
8
8
#]]
9
9
10
10
add_library (IntegerUtilities
11
+ GCD.swift
11
12
Rotate.swift )
12
13
set_target_properties (IntegerUtilities PROPERTIES
13
14
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY} )
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ See https://swift.org/LICENSE.txt for license information
8
8
#]]
9
9
10
10
add_library (IntegerUtilitiesTests
11
+ GCDTests.swift
11
12
RotateTests.swift )
12
13
target_compile_options (IntegerUtilitiesTests PRIVATE
13
14
-enable-testing )
Original file line number Diff line number Diff line change @@ -90,6 +90,12 @@ extension RotateTests {
90
90
] )
91
91
}
92
92
93
+ extension IntegerUtilitiesGCDTests {
94
+ static var all = testCase ( [
95
+ ( " testGCDInt " , IntegerUtilitiesGCDTests . testGCDInt) ,
96
+ ] )
97
+ }
98
+
93
99
var testCases = [
94
100
ComplexTests . ApproximateEqualityTests. all,
95
101
RealTests . ApproximateEqualityTests. all,
@@ -98,6 +104,7 @@ var testCases = [
98
104
ArithmeticTests . all,
99
105
PropertyTests . all,
100
106
RotateTests . all,
107
+ IntegerUtilitiesGCDTests . all,
101
108
]
102
109
103
110
#if swift(>=5.3) && canImport(_Differentiation)
You can’t perform that action at this time.
0 commit comments