From 86e9087ab572b105145cbf6f5660859edd5e79e8 Mon Sep 17 00:00:00 2001 From: Ron Olson Date: Fri, 8 Nov 2019 15:10:38 -0600 Subject: [PATCH] Added LinuxMain.swift so numerics can be used on Linux --- Tests/LinuxMain.swift | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Tests/LinuxMain.swift diff --git a/Tests/LinuxMain.swift b/Tests/LinuxMain.swift new file mode 100644 index 00000000..a87d6f14 --- /dev/null +++ b/Tests/LinuxMain.swift @@ -0,0 +1,25 @@ +import XCTest + +@testable import ComplexTests +@testable import RealTests + +XCTMain([ + testCase(ArithmeticBenchmarkTests.testDivisionByConstant), + testCase(ArithmeticBenchmarkTests.testReciprocal), + testCase(ArithmeticBenchmarkTests.testDivisionByConstantC), + testCase(ArithmeticBenchmarkTests.testMultiplication), + testCase(ArithmeticBenchmarkTests.testMultiplicationC), + testCase(ArithmeticBenchmarkTests.testDivision), + testCase(ArithmeticBenchmarkTests.testDivisionC), + testCase(ArithmeticBenchmarkTests.testDivisionPoorScaling), + testCase(ArithmeticBenchmarkTests.testDivisionPoorScalingC), + testCase(ArithmeticBenchmarkTests.testMultiplicationPoorScaling), + testCase(ArithmeticBenchmarkTests.testMultiplicationPoorScalingC), + testCase(PropertyTests.testProperties), + testCase(PropertyTests.testEquatableHashable), + testCase(ArithmeticTests.testPolar), + testCase(ArithmeticTests.testBaudinSmith), + testCase(RealTests.testFloat), + testCase(RealTests.testDouble), + testCase(RealTests.testFloat80) +])