From bc6e1aca717525f0418782045ef3c81575f2ce21 Mon Sep 17 00:00:00 2001 From: andywiecko Date: Tue, 26 Sep 2023 18:38:00 +0200 Subject: [PATCH] test: benchmark category --- Tests/TriangulatorEditorTests.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/TriangulatorEditorTests.cs b/Tests/TriangulatorEditorTests.cs index 53aff91..5a16b0c 100644 --- a/Tests/TriangulatorEditorTests.cs +++ b/Tests/TriangulatorEditorTests.cs @@ -1746,7 +1746,7 @@ public void PCATransformationGithubIssue31Test() new((area: 0.0002f, N: 005)), }; - [Test, TestCaseSource(nameof(refineMeshBenchmarkTestData)), Explicit] + [Test, TestCaseSource(nameof(refineMeshBenchmarkTestData)), Explicit, Category("Benchmark")] public void RefineMeshBenchmarkTest((float area, int N) input) { var (area, N) = input; @@ -1805,7 +1805,7 @@ public void RefineMeshBenchmarkTest((float area, int N) input) DelaunayCase(count: 1000, N: 10), }; - [Test, TestCaseSource(nameof(delaunayBenchmarkTestData)), Explicit] + [Test, TestCaseSource(nameof(delaunayBenchmarkTestData)), Explicit, Category("Benchmark")] public void DelaunayBenchmarkTest((int count, int N) input) { var (count, N) = input; @@ -1850,7 +1850,7 @@ public void DelaunayBenchmarkTest((int count, int N) input) .Select(i => new TestCaseData((100, 3 * (i + 1)))) .ToArray(); - [Test, TestCaseSource(nameof(constraintBenchmarkTestData)), Explicit] + [Test, TestCaseSource(nameof(constraintBenchmarkTestData)), Explicit, Category("Benchmark")] public void ConstraintBenchmarkTest((int count, int N) input) { var (count, N) = input;