diff --git a/pkg/.System.Numerics.Vectors.pkgproj.swp b/pkg/.System.Numerics.Vectors.pkgproj.swp new file mode 100644 index 0000000..54e4c9f Binary files /dev/null and b/pkg/.System.Numerics.Vectors.pkgproj.swp differ diff --git a/pkg/System.Numerics.Vectors.pkgproj b/pkg/System.Numerics.Vectors.pkgproj deleted file mode 100644 index 43c40ba..0000000 --- a/pkg/System.Numerics.Vectors.pkgproj +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - 2.8.6 - bin\$(Configuration)\ - - - - net45;netcore45;wp8;wpa81;netcoreapp1.0;$(AllXamarinFrameworks) - - - - - - - - - - - - - diff --git a/tests/Performance/HashCodeTest.cs b/tests/Performance/HashCodeTest.cs index 4122304..fd4496b 100644 --- a/tests/Performance/HashCodeTest.cs +++ b/tests/Performance/HashCodeTest.cs @@ -1,9 +1,10 @@ -using Microsoft.Xunit.Performance; +//using Microsoft.Xunit.Performance; namespace System.Numerics.Performance.Tests { public static class HashCodeTest { + /* [Benchmark(InnerIterationCount = 100000000)] public static void HashTest() { @@ -25,5 +26,6 @@ namespace System.Numerics.Performance.Tests } } } + */ } } diff --git a/tests/Performance/Perf.Vector2.cs b/tests/Performance/Perf.Vector2.cs index 0e99a79..7cd9833 100644 --- a/tests/Performance/Perf.Vector2.cs +++ b/tests/Performance/Perf.Vector2.cs @@ -2,7 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -using Microsoft.Xunit.Performance; +//using Microsoft.Xunit.Performance; using Xunit; using System.Collections.Generic; @@ -16,6 +16,7 @@ namespace System.Numerics.Tests yield return new object[] { op }; } + /* [Benchmark] [MemberData(nameof(TestOperations))] public void Operation(Operations operation) @@ -27,6 +28,7 @@ namespace System.Numerics.Tests using (iteration.StartMeasurement()) ExecuteTest(operation, 1000000, v1, v2); } + */ public void ExecuteTest(Operations operation, int innerIterations, Vector2 v1, Vector2 v2) { diff --git a/tests/Performance/Perf.Vector3.cs b/tests/Performance/Perf.Vector3.cs index 0460c98..9f61443 100644 --- a/tests/Performance/Perf.Vector3.cs +++ b/tests/Performance/Perf.Vector3.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +/* using Microsoft.Xunit.Performance; using Xunit; using System.Numerics; @@ -102,3 +103,4 @@ namespace System.Numerics.Tests } } } +*/ diff --git a/tests/Performance/Perf.Vector4.cs b/tests/Performance/Perf.Vector4.cs index 9941b29..45c8b15 100644 --- a/tests/Performance/Perf.Vector4.cs +++ b/tests/Performance/Perf.Vector4.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +/* using Microsoft.Xunit.Performance; using Xunit; using System.Numerics; @@ -97,3 +98,4 @@ namespace System.Numerics.Tests } } } +*/ diff --git a/tests/Performance/System.Numerics.Vectors.Performance.Tests.csproj b/tests/Performance/System.Numerics.Vectors.Performance.Tests.csproj index 14b61e8..66850ee 100644 --- a/tests/Performance/System.Numerics.Vectors.Performance.Tests.csproj +++ b/tests/Performance/System.Numerics.Vectors.Performance.Tests.csproj @@ -1,7 +1,6 @@  - 11.0 Properties @@ -23,6 +22,12 @@ false + + Library + + + + ConstantHelper.cs @@ -41,7 +46,7 @@ - + {53134b0c-0d57-481b-b84e-d1991e8d54ff} System.Numerics.Vectors @@ -56,10 +61,26 @@ GenerationConfig.ttinclude - + + + $(SolutionDir)packages\xunit.abstractions.2.0.0\lib\net35\xunit.abstractions.dll + True + + + $(SolutionDir)packages\xunit.assert.2.1.0\lib\dotnet\xunit.assert.dll + True + + + $(SolutionDir)packages\xunit.extensibility.core.2.1.0\lib\dotnet\xunit.core.dll + True + + + $(SolutionDir)packages\xunit.extensibility.execution.2.1.0\lib\net45\xunit.execution.desktop.dll + True + \ No newline at end of file diff --git a/tests/Performance/packages.config b/tests/Performance/packages.config new file mode 100644 index 0000000..d0bd528 --- /dev/null +++ b/tests/Performance/packages.config @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file