From 0d4344dabbd6d7543ae9572d6ba7b552791b2943 Mon Sep 17 00:00:00 2001 From: ikpil Date: Sun, 21 Jan 2024 19:27:58 +0900 Subject: [PATCH] remove Parallelizable in UnitTest --- test/DotRecast.Core.Test/RcRentedArrayTest.cs | 43 +++++++++++-------- test/DotRecast.Core.Test/RcStackArrayTest.cs | 2 +- .../AbstractCrowdTest.cs | 2 +- .../DotRecast.Detour.Crowd.Test/Crowd1Test.cs | 2 +- .../DotRecast.Detour.Crowd.Test/Crowd4Test.cs | 2 +- .../Crowd4VelocityTest.cs | 2 +- .../PathCorridorTest.cs | 2 +- .../DynamicNavMeshTest.cs | 2 +- .../Io/VoxelFileReaderTest.cs | 2 +- .../Io/VoxelFileReaderWriterTest.cs | 2 +- .../VoxelQueryTest.cs | 2 +- .../UnityAStarPathfindingImporterTest.cs | 2 +- .../AbstractDetourTest.cs | 2 +- .../ConvexConvexIntersectionTest.cs | 2 +- .../FindDistanceToWallTest.cs | 2 +- .../FindLocalNeighbourhoodTest.cs | 2 +- .../FindNearestPolyTest.cs | 2 +- test/DotRecast.Detour.Test/FindPathTest.cs | 2 +- .../FindPolysAroundCircleTest.cs | 2 +- .../FindPolysAroundShapeTest.cs | 2 +- .../GetPolyWallSegmentsTest.cs | 2 +- .../Io/MeshDataReaderWriterTest.cs | 2 +- .../Io/MeshSetReaderTest.cs | 2 +- .../Io/MeshSetReaderWriterTest.cs | 2 +- .../MoveAlongSurfaceTest.cs | 2 +- .../NavMeshBuilderTest.cs | 2 +- .../PolygonByCircleConstraintTest.cs | 2 +- test/DotRecast.Detour.Test/RandomPointTest.cs | 2 +- .../TiledFindPathTest.cs | 2 +- .../AbstractTileCacheTest.cs | 2 +- .../Io/TileCacheReaderTest.cs | 2 +- .../Io/TileCacheReaderWriterTest.cs | 2 +- .../TempObstaclesTest.cs | 2 +- .../TileCacheFindPathTest.cs | 2 +- .../TileCacheNavigationTest.cs | 2 +- .../TileCacheTest.cs | 2 +- .../DotRecast.Recast.Test/RecastLayersTest.cs | 2 +- .../RecastSoloMeshTest.cs | 2 +- test/DotRecast.Recast.Test/RecastTest.cs | 2 +- .../RecastTileMeshTest.cs | 2 +- 40 files changed, 64 insertions(+), 57 deletions(-) diff --git a/test/DotRecast.Core.Test/RcRentedArrayTest.cs b/test/DotRecast.Core.Test/RcRentedArrayTest.cs index 375e2b3..48a1cd2 100644 --- a/test/DotRecast.Core.Test/RcRentedArrayTest.cs +++ b/test/DotRecast.Core.Test/RcRentedArrayTest.cs @@ -22,31 +22,38 @@ public class RcRentedArrayTest } [Test] - public void Test() + public void TestRentedArray() { var rand = new RcRand(); for (int loop = 0; loop < 1024; ++loop) { - int length = (int)(rand.Next() * 2048); - var values = RandomValues(length); - using var array = RcRentedArray.RentDisposableArray(length); - - for (int i = 0; i < array.Length; ++i) + RcRentedArray rentedArray; { - array[i] = values[i]; - } + int length = (int)(rand.Next() * 2048); + var values = RandomValues(length); + using var array = RcRentedArray.RentDisposableArray(length); - for (int i = 0; i < array.Length; ++i) - { - Assert.That(array[i], Is.EqualTo(values[i])); + for (int i = 0; i < array.Length; ++i) + { + array[i] = values[i]; + } + + for (int i = 0; i < array.Length; ++i) + { + Assert.That(array[i], Is.EqualTo(values[i])); + } + + Assert.That(array[^1], Is.EqualTo(values[^1])); + + Assert.Throws(() => array[-1] = 0); + Assert.Throws(() => array[array.Length + 1] = 0); + Assert.Throws(() => _ = array[-1]); + Assert.Throws(() => _ = array[array.Length + 1]); + + // danger + rentedArray = array; } - - Assert.That(array[^1], Is.EqualTo(values[^1])); - - Assert.Throws(() => array[-1] = 0); - Assert.Throws(() => array[array.Length + 1] = 0); - Assert.Throws(() => _ = array[-1]); - Assert.Throws(() => _ = array[array.Length + 1]); + Assert.Throws(() => rentedArray[^1] = 0); } } } \ No newline at end of file diff --git a/test/DotRecast.Core.Test/RcStackArrayTest.cs b/test/DotRecast.Core.Test/RcStackArrayTest.cs index 4da8027..52d0648 100644 --- a/test/DotRecast.Core.Test/RcStackArrayTest.cs +++ b/test/DotRecast.Core.Test/RcStackArrayTest.cs @@ -6,7 +6,7 @@ using NUnit.Framework; namespace DotRecast.Core.Test; -[Parallelizable] + public class RcStackArrayTest { public List RandomValues(int size) diff --git a/test/DotRecast.Detour.Crowd.Test/AbstractCrowdTest.cs b/test/DotRecast.Detour.Crowd.Test/AbstractCrowdTest.cs index ec93b91..0df0e02 100644 --- a/test/DotRecast.Detour.Crowd.Test/AbstractCrowdTest.cs +++ b/test/DotRecast.Detour.Crowd.Test/AbstractCrowdTest.cs @@ -25,7 +25,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Crowd.Test; -[Parallelizable] + public class AbstractCrowdTest { protected readonly long[] startRefs = diff --git a/test/DotRecast.Detour.Crowd.Test/Crowd1Test.cs b/test/DotRecast.Detour.Crowd.Test/Crowd1Test.cs index 1db0ba1..23b60ac 100644 --- a/test/DotRecast.Detour.Crowd.Test/Crowd1Test.cs +++ b/test/DotRecast.Detour.Crowd.Test/Crowd1Test.cs @@ -22,7 +22,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Crowd.Test; -[Parallelizable] + public class Crowd1Test : AbstractCrowdTest { static readonly float[][] EXPECTED_A1Q0TVTA = diff --git a/test/DotRecast.Detour.Crowd.Test/Crowd4Test.cs b/test/DotRecast.Detour.Crowd.Test/Crowd4Test.cs index 26e6cb4..30613fb 100644 --- a/test/DotRecast.Detour.Crowd.Test/Crowd4Test.cs +++ b/test/DotRecast.Detour.Crowd.Test/Crowd4Test.cs @@ -24,7 +24,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Crowd.Test; -[Parallelizable] + public class Crowd4Test : AbstractCrowdTest { static readonly float[][] EXPECTED_A1Q2TVTA = diff --git a/test/DotRecast.Detour.Crowd.Test/Crowd4VelocityTest.cs b/test/DotRecast.Detour.Crowd.Test/Crowd4VelocityTest.cs index d6c8275..b619d06 100644 --- a/test/DotRecast.Detour.Crowd.Test/Crowd4VelocityTest.cs +++ b/test/DotRecast.Detour.Crowd.Test/Crowd4VelocityTest.cs @@ -22,7 +22,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Crowd.Test; -[Parallelizable] + public class Crowd4VelocityTest : AbstractCrowdTest { static readonly float[][] EXPECTED_A1Q3TVTA = diff --git a/test/DotRecast.Detour.Crowd.Test/PathCorridorTest.cs b/test/DotRecast.Detour.Crowd.Test/PathCorridorTest.cs index c5ff52c..45ef3cb 100644 --- a/test/DotRecast.Detour.Crowd.Test/PathCorridorTest.cs +++ b/test/DotRecast.Detour.Crowd.Test/PathCorridorTest.cs @@ -25,7 +25,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Crowd.Test; -[Parallelizable] + public class PathCorridorTest { private readonly DtPathCorridor corridor = new DtPathCorridor(); diff --git a/test/DotRecast.Detour.Dynamic.Test/DynamicNavMeshTest.cs b/test/DotRecast.Detour.Dynamic.Test/DynamicNavMeshTest.cs index a889a83..1215635 100644 --- a/test/DotRecast.Detour.Dynamic.Test/DynamicNavMeshTest.cs +++ b/test/DotRecast.Detour.Dynamic.Test/DynamicNavMeshTest.cs @@ -10,7 +10,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Dynamic.Test; -[Parallelizable] + public class DynamicNavMeshTest { private static readonly RcVec3f START_POS = new RcVec3f(70.87453f, 0.0010070801f, 86.69021f); diff --git a/test/DotRecast.Detour.Dynamic.Test/Io/VoxelFileReaderTest.cs b/test/DotRecast.Detour.Dynamic.Test/Io/VoxelFileReaderTest.cs index 5e81f8f..275330f 100644 --- a/test/DotRecast.Detour.Dynamic.Test/Io/VoxelFileReaderTest.cs +++ b/test/DotRecast.Detour.Dynamic.Test/Io/VoxelFileReaderTest.cs @@ -25,7 +25,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Dynamic.Test.Io; -[Parallelizable] + public class VoxelFileReaderTest { [Test] diff --git a/test/DotRecast.Detour.Dynamic.Test/Io/VoxelFileReaderWriterTest.cs b/test/DotRecast.Detour.Dynamic.Test/Io/VoxelFileReaderWriterTest.cs index 54a0640..7ebf01a 100644 --- a/test/DotRecast.Detour.Dynamic.Test/Io/VoxelFileReaderWriterTest.cs +++ b/test/DotRecast.Detour.Dynamic.Test/Io/VoxelFileReaderWriterTest.cs @@ -25,7 +25,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Dynamic.Test.Io; -[Parallelizable] + public class VoxelFileReaderWriterTest { [TestCase(false)] diff --git a/test/DotRecast.Detour.Dynamic.Test/VoxelQueryTest.cs b/test/DotRecast.Detour.Dynamic.Test/VoxelQueryTest.cs index 577a754..fc32f0a 100644 --- a/test/DotRecast.Detour.Dynamic.Test/VoxelQueryTest.cs +++ b/test/DotRecast.Detour.Dynamic.Test/VoxelQueryTest.cs @@ -31,7 +31,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Dynamic.Test; -[Parallelizable] + public class VoxelQueryTest { private const int TILE_WIDTH = 100; diff --git a/test/DotRecast.Detour.Extras.Test/Unity/Astar/UnityAStarPathfindingImporterTest.cs b/test/DotRecast.Detour.Extras.Test/Unity/Astar/UnityAStarPathfindingImporterTest.cs index 915e278..c903ce7 100644 --- a/test/DotRecast.Detour.Extras.Test/Unity/Astar/UnityAStarPathfindingImporterTest.cs +++ b/test/DotRecast.Detour.Extras.Test/Unity/Astar/UnityAStarPathfindingImporterTest.cs @@ -26,7 +26,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Extras.Test.Unity.Astar; -[Parallelizable] + public class UnityAStarPathfindingImporterTest { [Test] diff --git a/test/DotRecast.Detour.Test/AbstractDetourTest.cs b/test/DotRecast.Detour.Test/AbstractDetourTest.cs index 259010a..2e086b7 100644 --- a/test/DotRecast.Detour.Test/AbstractDetourTest.cs +++ b/test/DotRecast.Detour.Test/AbstractDetourTest.cs @@ -21,7 +21,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Test; -[Parallelizable] + public abstract class AbstractDetourTest { protected static readonly long[] startRefs = diff --git a/test/DotRecast.Detour.Test/ConvexConvexIntersectionTest.cs b/test/DotRecast.Detour.Test/ConvexConvexIntersectionTest.cs index 02f1814..012ecf9 100644 --- a/test/DotRecast.Detour.Test/ConvexConvexIntersectionTest.cs +++ b/test/DotRecast.Detour.Test/ConvexConvexIntersectionTest.cs @@ -21,7 +21,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Test; -[Parallelizable] + public class ConvexConvexIntersectionTest { [Test] diff --git a/test/DotRecast.Detour.Test/FindDistanceToWallTest.cs b/test/DotRecast.Detour.Test/FindDistanceToWallTest.cs index 081fff9..4fe79a1 100644 --- a/test/DotRecast.Detour.Test/FindDistanceToWallTest.cs +++ b/test/DotRecast.Detour.Test/FindDistanceToWallTest.cs @@ -22,7 +22,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Test; -[Parallelizable] + public class FindDistanceToWallTest : AbstractDetourTest { private static readonly float[] DISTANCES_TO_WALL = { 0.597511f, 3.201085f, 0.603713f, 2.791475f, 2.815544f }; diff --git a/test/DotRecast.Detour.Test/FindLocalNeighbourhoodTest.cs b/test/DotRecast.Detour.Test/FindLocalNeighbourhoodTest.cs index e637e17..662d9d0 100644 --- a/test/DotRecast.Detour.Test/FindLocalNeighbourhoodTest.cs +++ b/test/DotRecast.Detour.Test/FindLocalNeighbourhoodTest.cs @@ -22,7 +22,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Test; -[Parallelizable] + public class FindLocalNeighbourhoodTest : AbstractDetourTest { private static readonly long[][] REFS = diff --git a/test/DotRecast.Detour.Test/FindNearestPolyTest.cs b/test/DotRecast.Detour.Test/FindNearestPolyTest.cs index f9bb2a0..bf47916 100644 --- a/test/DotRecast.Detour.Test/FindNearestPolyTest.cs +++ b/test/DotRecast.Detour.Test/FindNearestPolyTest.cs @@ -21,7 +21,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Test; -[Parallelizable] + public class FindNearestPolyTest : AbstractDetourTest { private static readonly long[] POLY_REFS = { 281474976710696L, 281474976710773L, 281474976710680L, 281474976710753L, 281474976710733L }; diff --git a/test/DotRecast.Detour.Test/FindPathTest.cs b/test/DotRecast.Detour.Test/FindPathTest.cs index 57d9ecb..4ce825a 100644 --- a/test/DotRecast.Detour.Test/FindPathTest.cs +++ b/test/DotRecast.Detour.Test/FindPathTest.cs @@ -22,7 +22,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Test; -[Parallelizable] + public class FindPathTest : AbstractDetourTest { private static readonly DtStatus[] STATUSES = diff --git a/test/DotRecast.Detour.Test/FindPolysAroundCircleTest.cs b/test/DotRecast.Detour.Test/FindPolysAroundCircleTest.cs index 40fd7a0..5c0be03 100644 --- a/test/DotRecast.Detour.Test/FindPolysAroundCircleTest.cs +++ b/test/DotRecast.Detour.Test/FindPolysAroundCircleTest.cs @@ -22,7 +22,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Test; -[Parallelizable] + public class FindPolysAroundCircleTest : AbstractDetourTest { private static readonly long[][] REFS = diff --git a/test/DotRecast.Detour.Test/FindPolysAroundShapeTest.cs b/test/DotRecast.Detour.Test/FindPolysAroundShapeTest.cs index fedc1de..6bae858 100644 --- a/test/DotRecast.Detour.Test/FindPolysAroundShapeTest.cs +++ b/test/DotRecast.Detour.Test/FindPolysAroundShapeTest.cs @@ -22,7 +22,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Test; -[Parallelizable] + public class FindPolysAroundShapeTest : AbstractDetourTest { private static readonly long[][] REFS = diff --git a/test/DotRecast.Detour.Test/GetPolyWallSegmentsTest.cs b/test/DotRecast.Detour.Test/GetPolyWallSegmentsTest.cs index bfa621f..b05f52d 100644 --- a/test/DotRecast.Detour.Test/GetPolyWallSegmentsTest.cs +++ b/test/DotRecast.Detour.Test/GetPolyWallSegmentsTest.cs @@ -22,7 +22,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Test; -[Parallelizable] + public class GetPolyWallSegmentsTest : AbstractDetourTest { private static readonly RcSegmentVert[][] VERTICES = diff --git a/test/DotRecast.Detour.Test/Io/MeshDataReaderWriterTest.cs b/test/DotRecast.Detour.Test/Io/MeshDataReaderWriterTest.cs index 5a1edfa..acb8ad8 100644 --- a/test/DotRecast.Detour.Test/Io/MeshDataReaderWriterTest.cs +++ b/test/DotRecast.Detour.Test/Io/MeshDataReaderWriterTest.cs @@ -23,7 +23,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Test.Io; -[Parallelizable] + public class MeshDataReaderWriterTest { private const int VERTS_PER_POLYGON = 6; diff --git a/test/DotRecast.Detour.Test/Io/MeshSetReaderTest.cs b/test/DotRecast.Detour.Test/Io/MeshSetReaderTest.cs index 0e701c9..e2bf949 100644 --- a/test/DotRecast.Detour.Test/Io/MeshSetReaderTest.cs +++ b/test/DotRecast.Detour.Test/Io/MeshSetReaderTest.cs @@ -24,7 +24,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Test.Io; -[Parallelizable] + public class MeshSetReaderTest { private readonly DtMeshSetReader reader = new DtMeshSetReader(); diff --git a/test/DotRecast.Detour.Test/Io/MeshSetReaderWriterTest.cs b/test/DotRecast.Detour.Test/Io/MeshSetReaderWriterTest.cs index ed1aee5..c01ea73 100644 --- a/test/DotRecast.Detour.Test/Io/MeshSetReaderWriterTest.cs +++ b/test/DotRecast.Detour.Test/Io/MeshSetReaderWriterTest.cs @@ -28,7 +28,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Test.Io; -[Parallelizable] + public class MeshSetReaderWriterTest { private readonly DtMeshSetWriter writer = new DtMeshSetWriter(); diff --git a/test/DotRecast.Detour.Test/MoveAlongSurfaceTest.cs b/test/DotRecast.Detour.Test/MoveAlongSurfaceTest.cs index ca1f396..4a84028 100644 --- a/test/DotRecast.Detour.Test/MoveAlongSurfaceTest.cs +++ b/test/DotRecast.Detour.Test/MoveAlongSurfaceTest.cs @@ -22,7 +22,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Test; -[Parallelizable] + public class MoveAlongSurfaceTest : AbstractDetourTest { private static readonly long[][] VISITED = diff --git a/test/DotRecast.Detour.Test/NavMeshBuilderTest.cs b/test/DotRecast.Detour.Test/NavMeshBuilderTest.cs index a1383f4..2a3abbb 100644 --- a/test/DotRecast.Detour.Test/NavMeshBuilderTest.cs +++ b/test/DotRecast.Detour.Test/NavMeshBuilderTest.cs @@ -21,7 +21,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Test; -[Parallelizable] + public class NavMeshBuilderTest { private DtMeshData nmd; diff --git a/test/DotRecast.Detour.Test/PolygonByCircleConstraintTest.cs b/test/DotRecast.Detour.Test/PolygonByCircleConstraintTest.cs index 2c7f78b..070848a 100644 --- a/test/DotRecast.Detour.Test/PolygonByCircleConstraintTest.cs +++ b/test/DotRecast.Detour.Test/PolygonByCircleConstraintTest.cs @@ -22,7 +22,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Test; -[Parallelizable] + public class PolygonByCircleConstraintTest { private readonly IDtPolygonByCircleConstraint _constraint = DtStrictDtPolygonByCircleConstraint.Shared; diff --git a/test/DotRecast.Detour.Test/RandomPointTest.cs b/test/DotRecast.Detour.Test/RandomPointTest.cs index 7905c54..c98079f 100644 --- a/test/DotRecast.Detour.Test/RandomPointTest.cs +++ b/test/DotRecast.Detour.Test/RandomPointTest.cs @@ -25,7 +25,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Test; -[Parallelizable] + public class RandomPointTest : AbstractDetourTest { [Test] diff --git a/test/DotRecast.Detour.Test/TiledFindPathTest.cs b/test/DotRecast.Detour.Test/TiledFindPathTest.cs index 05ec6ff..09d712c 100644 --- a/test/DotRecast.Detour.Test/TiledFindPathTest.cs +++ b/test/DotRecast.Detour.Test/TiledFindPathTest.cs @@ -23,7 +23,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Test; -[Parallelizable] + public class TiledFindPathTest { private static readonly DtStatus[] STATUSES = { DtStatus.DT_SUCCESS }; diff --git a/test/DotRecast.Detour.TileCache.Test/AbstractTileCacheTest.cs b/test/DotRecast.Detour.TileCache.Test/AbstractTileCacheTest.cs index 2477d09..fded142 100644 --- a/test/DotRecast.Detour.TileCache.Test/AbstractTileCacheTest.cs +++ b/test/DotRecast.Detour.TileCache.Test/AbstractTileCacheTest.cs @@ -27,7 +27,7 @@ using NUnit.Framework; namespace DotRecast.Detour.TileCache.Test; -[Parallelizable] + public class AbstractTileCacheTest { private const int EXPECTED_LAYERS_PER_TILE = 4; diff --git a/test/DotRecast.Detour.TileCache.Test/Io/TileCacheReaderTest.cs b/test/DotRecast.Detour.TileCache.Test/Io/TileCacheReaderTest.cs index 75b2897..ba67a7f 100644 --- a/test/DotRecast.Detour.TileCache.Test/Io/TileCacheReaderTest.cs +++ b/test/DotRecast.Detour.TileCache.Test/Io/TileCacheReaderTest.cs @@ -27,7 +27,7 @@ using NUnit.Framework; namespace DotRecast.Detour.TileCache.Test.Io; -[Parallelizable] + public class TileCacheReaderTest { private readonly DtTileCacheReader reader = new DtTileCacheReader(DtTileCacheCompressorFactory.Shared); diff --git a/test/DotRecast.Detour.TileCache.Test/Io/TileCacheReaderWriterTest.cs b/test/DotRecast.Detour.TileCache.Test/Io/TileCacheReaderWriterTest.cs index ceef78d..f4430c5 100644 --- a/test/DotRecast.Detour.TileCache.Test/Io/TileCacheReaderWriterTest.cs +++ b/test/DotRecast.Detour.TileCache.Test/Io/TileCacheReaderWriterTest.cs @@ -28,7 +28,7 @@ using NUnit.Framework; namespace DotRecast.Detour.TileCache.Test.Io; -[Parallelizable] + public class TileCacheReaderWriterTest : AbstractTileCacheTest { private readonly DtTileCacheReader reader = new DtTileCacheReader(DtTileCacheCompressorFactory.Shared); diff --git a/test/DotRecast.Detour.TileCache.Test/TempObstaclesTest.cs b/test/DotRecast.Detour.TileCache.Test/TempObstaclesTest.cs index f8b8502..a894e41 100644 --- a/test/DotRecast.Detour.TileCache.Test/TempObstaclesTest.cs +++ b/test/DotRecast.Detour.TileCache.Test/TempObstaclesTest.cs @@ -26,7 +26,7 @@ using NUnit.Framework; namespace DotRecast.Detour.TileCache.Test; -[Parallelizable] + public class TempObstaclesTest : AbstractTileCacheTest { [Test] diff --git a/test/DotRecast.Detour.TileCache.Test/TileCacheFindPathTest.cs b/test/DotRecast.Detour.TileCache.Test/TileCacheFindPathTest.cs index 68931d2..f1735bd 100644 --- a/test/DotRecast.Detour.TileCache.Test/TileCacheFindPathTest.cs +++ b/test/DotRecast.Detour.TileCache.Test/TileCacheFindPathTest.cs @@ -29,7 +29,7 @@ using NUnit.Framework; namespace DotRecast.Detour.TileCache.Test; -[Parallelizable] + public class TileCacheFindPathTest : AbstractTileCacheTest { private readonly RcVec3f start = new RcVec3f(39.44734f, 9.998177f, -0.784811f); diff --git a/test/DotRecast.Detour.TileCache.Test/TileCacheNavigationTest.cs b/test/DotRecast.Detour.TileCache.Test/TileCacheNavigationTest.cs index b3eaaaa..6ec738a 100644 --- a/test/DotRecast.Detour.TileCache.Test/TileCacheNavigationTest.cs +++ b/test/DotRecast.Detour.TileCache.Test/TileCacheNavigationTest.cs @@ -26,7 +26,7 @@ using NUnit.Framework; namespace DotRecast.Detour.TileCache.Test; -[Parallelizable] + public class TileCacheNavigationTest : AbstractTileCacheTest { protected readonly long[] startRefs = { 281475006070787L }; diff --git a/test/DotRecast.Detour.TileCache.Test/TileCacheTest.cs b/test/DotRecast.Detour.TileCache.Test/TileCacheTest.cs index ba8e46e..f31569c 100644 --- a/test/DotRecast.Detour.TileCache.Test/TileCacheTest.cs +++ b/test/DotRecast.Detour.TileCache.Test/TileCacheTest.cs @@ -26,7 +26,7 @@ using NUnit.Framework; namespace DotRecast.Detour.TileCache.Test; -[Parallelizable] + public class TileCacheTest : AbstractTileCacheTest { [Test] diff --git a/test/DotRecast.Recast.Test/RecastLayersTest.cs b/test/DotRecast.Recast.Test/RecastLayersTest.cs index b45b7dd..1dbb009 100644 --- a/test/DotRecast.Recast.Test/RecastLayersTest.cs +++ b/test/DotRecast.Recast.Test/RecastLayersTest.cs @@ -26,7 +26,7 @@ namespace DotRecast.Recast.Test; using static RcConstants; -[Parallelizable] + public class RecastLayersTest { private const float m_cellSize = 0.3f; diff --git a/test/DotRecast.Recast.Test/RecastSoloMeshTest.cs b/test/DotRecast.Recast.Test/RecastSoloMeshTest.cs index 731f101..37c04c9 100644 --- a/test/DotRecast.Recast.Test/RecastSoloMeshTest.cs +++ b/test/DotRecast.Recast.Test/RecastSoloMeshTest.cs @@ -28,7 +28,7 @@ namespace DotRecast.Recast.Test; using static RcConstants; using static RcAreas; -[Parallelizable] + public class RecastSoloMeshTest { private const float m_cellSize = 0.3f; diff --git a/test/DotRecast.Recast.Test/RecastTest.cs b/test/DotRecast.Recast.Test/RecastTest.cs index 7c02149..3e08464 100644 --- a/test/DotRecast.Recast.Test/RecastTest.cs +++ b/test/DotRecast.Recast.Test/RecastTest.cs @@ -23,7 +23,7 @@ namespace DotRecast.Recast.Test; using static RcConstants; -[Parallelizable] + public class RecastTest { [Test] diff --git a/test/DotRecast.Recast.Test/RecastTileMeshTest.cs b/test/DotRecast.Recast.Test/RecastTileMeshTest.cs index 635f67e..bacb9ae 100644 --- a/test/DotRecast.Recast.Test/RecastTileMeshTest.cs +++ b/test/DotRecast.Recast.Test/RecastTileMeshTest.cs @@ -27,7 +27,7 @@ using NUnit.Framework; namespace DotRecast.Recast.Test; -[Parallelizable] + public class RecastTileMeshTest { private const float m_cellSize = 0.3f;