Skip to content

Commit a27ffc7

Browse files
Merge pull request #57 from tachoknight/master
Added LinuxMain.swift so numerics can be used on Linux
2 parents a301489 + 86e9087 commit a27ffc7

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

Tests/LinuxMain.swift

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import XCTest
2+
3+
@testable import ComplexTests
4+
@testable import RealTests
5+
6+
XCTMain([
7+
testCase(ArithmeticBenchmarkTests.testDivisionByConstant),
8+
testCase(ArithmeticBenchmarkTests.testReciprocal),
9+
testCase(ArithmeticBenchmarkTests.testDivisionByConstantC),
10+
testCase(ArithmeticBenchmarkTests.testMultiplication),
11+
testCase(ArithmeticBenchmarkTests.testMultiplicationC),
12+
testCase(ArithmeticBenchmarkTests.testDivision),
13+
testCase(ArithmeticBenchmarkTests.testDivisionC),
14+
testCase(ArithmeticBenchmarkTests.testDivisionPoorScaling),
15+
testCase(ArithmeticBenchmarkTests.testDivisionPoorScalingC),
16+
testCase(ArithmeticBenchmarkTests.testMultiplicationPoorScaling),
17+
testCase(ArithmeticBenchmarkTests.testMultiplicationPoorScalingC),
18+
testCase(PropertyTests.testProperties),
19+
testCase(PropertyTests.testEquatableHashable),
20+
testCase(ArithmeticTests.testPolar),
21+
testCase(ArithmeticTests.testBaudinSmith),
22+
testCase(RealTests.testFloat),
23+
testCase(RealTests.testDouble),
24+
testCase(RealTests.testFloat80)
25+
])

0 commit comments

Comments
 (0)