diff --git a/test/DotRecast.Detour.Crowd.Test/AbstractCrowdTest.cs b/test/DotRecast.Detour.Crowd.Test/AbstractCrowdTest.cs index 8043325..b6291d9 100644 --- a/test/DotRecast.Detour.Crowd.Test/AbstractCrowdTest.cs +++ b/test/DotRecast.Detour.Crowd.Test/AbstractCrowdTest.cs @@ -28,6 +28,7 @@ namespace DotRecast.Detour.Crowd.Test; using static DotRecast.Core.RecastMath; +[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 09a3207..75fa8f3 100644 --- a/test/DotRecast.Detour.Crowd.Test/Crowd1Test.cs +++ b/test/DotRecast.Detour.Crowd.Test/Crowd1Test.cs @@ -22,6 +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 8ea7b65..c50c4b8 100644 --- a/test/DotRecast.Detour.Crowd.Test/Crowd4Test.cs +++ b/test/DotRecast.Detour.Crowd.Test/Crowd4Test.cs @@ -24,6 +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 059621f..a439eb7 100644 --- a/test/DotRecast.Detour.Crowd.Test/Crowd4VelocityTest.cs +++ b/test/DotRecast.Detour.Crowd.Test/Crowd4VelocityTest.cs @@ -22,6 +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 a968539..4f4b695 100644 --- a/test/DotRecast.Detour.Crowd.Test/PathCorridorTest.cs +++ b/test/DotRecast.Detour.Crowd.Test/PathCorridorTest.cs @@ -24,6 +24,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Crowd.Test; +[Parallelizable] public class PathCorridorTest { private readonly PathCorridor corridor = new PathCorridor(); diff --git a/test/DotRecast.Detour.Dynamic.Test/DynamicNavMeshTest.cs b/test/DotRecast.Detour.Dynamic.Test/DynamicNavMeshTest.cs index 3a1b334..81dd51b 100644 --- a/test/DotRecast.Detour.Dynamic.Test/DynamicNavMeshTest.cs +++ b/test/DotRecast.Detour.Dynamic.Test/DynamicNavMeshTest.cs @@ -9,6 +9,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Dynamic.Test; +[Parallelizable] public class DynamicNavMeshTest { private static readonly Vector3f START_POS = Vector3f.Of(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 eca4259..d2c2ec1 100644 --- a/test/DotRecast.Detour.Dynamic.Test/Io/VoxelFileReaderTest.cs +++ b/test/DotRecast.Detour.Dynamic.Test/Io/VoxelFileReaderTest.cs @@ -23,6 +23,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 61cb7d2..e76ba63 100644 --- a/test/DotRecast.Detour.Dynamic.Test/Io/VoxelFileReaderWriterTest.cs +++ b/test/DotRecast.Detour.Dynamic.Test/Io/VoxelFileReaderWriterTest.cs @@ -23,6 +23,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 d538843..9836f53 100644 --- a/test/DotRecast.Detour.Dynamic.Test/VoxelQueryTest.cs +++ b/test/DotRecast.Detour.Dynamic.Test/VoxelQueryTest.cs @@ -28,6 +28,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 3152e60..aea71dd 100644 --- a/test/DotRecast.Detour.Extras.Test/Unity/Astar/UnityAStarPathfindingImporterTest.cs +++ b/test/DotRecast.Detour.Extras.Test/Unity/Astar/UnityAStarPathfindingImporterTest.cs @@ -27,6 +27,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 825291c..52d50bc 100644 --- a/test/DotRecast.Detour.Test/AbstractDetourTest.cs +++ b/test/DotRecast.Detour.Test/AbstractDetourTest.cs @@ -21,6 +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 c78db37..eb214c9 100644 --- a/test/DotRecast.Detour.Test/ConvexConvexIntersectionTest.cs +++ b/test/DotRecast.Detour.Test/ConvexConvexIntersectionTest.cs @@ -20,6 +20,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 ac583ca..6b79301 100644 --- a/test/DotRecast.Detour.Test/FindDistanceToWallTest.cs +++ b/test/DotRecast.Detour.Test/FindDistanceToWallTest.cs @@ -22,6 +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 9766771..db9cdbb 100644 --- a/test/DotRecast.Detour.Test/FindLocalNeighbourhoodTest.cs +++ b/test/DotRecast.Detour.Test/FindLocalNeighbourhoodTest.cs @@ -22,6 +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 f9d501c..3026170 100644 --- a/test/DotRecast.Detour.Test/FindNearestPolyTest.cs +++ b/test/DotRecast.Detour.Test/FindNearestPolyTest.cs @@ -22,6 +22,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 f35c535..fce5f9c 100644 --- a/test/DotRecast.Detour.Test/FindPathTest.cs +++ b/test/DotRecast.Detour.Test/FindPathTest.cs @@ -23,6 +23,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Test; +[Parallelizable] public class FindPathTest : AbstractDetourTest { private static readonly Status[] STATUSES = diff --git a/test/DotRecast.Detour.Test/FindPolysAroundCircleTest.cs b/test/DotRecast.Detour.Test/FindPolysAroundCircleTest.cs index 7631bf3..1e5f2ff 100644 --- a/test/DotRecast.Detour.Test/FindPolysAroundCircleTest.cs +++ b/test/DotRecast.Detour.Test/FindPolysAroundCircleTest.cs @@ -22,6 +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 faeb0cc..ca432e4 100644 --- a/test/DotRecast.Detour.Test/FindPolysAroundShapeTest.cs +++ b/test/DotRecast.Detour.Test/FindPolysAroundShapeTest.cs @@ -22,6 +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 90d0861..610e958 100644 --- a/test/DotRecast.Detour.Test/GetPolyWallSegmentsTest.cs +++ b/test/DotRecast.Detour.Test/GetPolyWallSegmentsTest.cs @@ -21,6 +21,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Test; +[Parallelizable] public class GetPolyWallSegmentsTest : AbstractDetourTest { private static readonly float[][] VERTICES = diff --git a/test/DotRecast.Detour.Test/Io/MeshDataReaderWriterTest.cs b/test/DotRecast.Detour.Test/Io/MeshDataReaderWriterTest.cs index d2195b8..43cb70f 100644 --- a/test/DotRecast.Detour.Test/Io/MeshDataReaderWriterTest.cs +++ b/test/DotRecast.Detour.Test/Io/MeshDataReaderWriterTest.cs @@ -23,6 +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 e855343..25de9af 100644 --- a/test/DotRecast.Detour.Test/Io/MeshSetReaderTest.cs +++ b/test/DotRecast.Detour.Test/Io/MeshSetReaderTest.cs @@ -24,6 +24,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Test.Io; +[Parallelizable] public class MeshSetReaderTest { private readonly MeshSetReader reader = new MeshSetReader(); diff --git a/test/DotRecast.Detour.Test/Io/MeshSetReaderWriterTest.cs b/test/DotRecast.Detour.Test/Io/MeshSetReaderWriterTest.cs index 53e488b..c800c69 100644 --- a/test/DotRecast.Detour.Test/Io/MeshSetReaderWriterTest.cs +++ b/test/DotRecast.Detour.Test/Io/MeshSetReaderWriterTest.cs @@ -27,6 +27,7 @@ using static DotRecast.Core.RecastMath; namespace DotRecast.Detour.Test.Io; +[Parallelizable] public class MeshSetReaderWriterTest { private readonly MeshSetWriter writer = new MeshSetWriter(); diff --git a/test/DotRecast.Detour.Test/MoveAlongSurfaceTest.cs b/test/DotRecast.Detour.Test/MoveAlongSurfaceTest.cs index ae67201..3ab5bde 100644 --- a/test/DotRecast.Detour.Test/MoveAlongSurfaceTest.cs +++ b/test/DotRecast.Detour.Test/MoveAlongSurfaceTest.cs @@ -22,6 +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 6698096..0857836 100644 --- a/test/DotRecast.Detour.Test/NavMeshBuilderTest.cs +++ b/test/DotRecast.Detour.Test/NavMeshBuilderTest.cs @@ -20,6 +20,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Test; +[Parallelizable] public class NavMeshBuilderTest { private MeshData nmd; diff --git a/test/DotRecast.Detour.Test/PolygonByCircleConstraintTest.cs b/test/DotRecast.Detour.Test/PolygonByCircleConstraintTest.cs index ed327ae..7dd71a4 100644 --- a/test/DotRecast.Detour.Test/PolygonByCircleConstraintTest.cs +++ b/test/DotRecast.Detour.Test/PolygonByCircleConstraintTest.cs @@ -21,6 +21,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Test; +[Parallelizable] public class PolygonByCircleConstraintTest { private readonly PolygonByCircleConstraint constraint = new PolygonByCircleConstraint.StrictPolygonByCircleConstraint(); diff --git a/test/DotRecast.Detour.Test/RandomPointTest.cs b/test/DotRecast.Detour.Test/RandomPointTest.cs index fea5923..a09cb24 100644 --- a/test/DotRecast.Detour.Test/RandomPointTest.cs +++ b/test/DotRecast.Detour.Test/RandomPointTest.cs @@ -25,6 +25,7 @@ using static DotRecast.Core.RecastMath; 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 ef71f8e..54ad47b 100644 --- a/test/DotRecast.Detour.Test/TiledFindPathTest.cs +++ b/test/DotRecast.Detour.Test/TiledFindPathTest.cs @@ -23,6 +23,7 @@ using NUnit.Framework; namespace DotRecast.Detour.Test; +[Parallelizable] public class TiledFindPathTest { private static readonly Status[] STATUSES = { Status.SUCCSESS }; diff --git a/test/DotRecast.Detour.TileCache.Test/AbstractTileCacheTest.cs b/test/DotRecast.Detour.TileCache.Test/AbstractTileCacheTest.cs index a714dde..3390cfc 100644 --- a/test/DotRecast.Detour.TileCache.Test/AbstractTileCacheTest.cs +++ b/test/DotRecast.Detour.TileCache.Test/AbstractTileCacheTest.cs @@ -21,11 +21,13 @@ freely, subject to the following restrictions: using DotRecast.Core; using DotRecast.Detour.TileCache.Io.Compress; using DotRecast.Recast.Geom; +using NUnit.Framework; using static DotRecast.Core.RecastMath; using static DotRecast.Recast.RecastVectors; 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 aff26fb..ec33216 100644 --- a/test/DotRecast.Detour.TileCache.Test/Io/TileCacheReaderTest.cs +++ b/test/DotRecast.Detour.TileCache.Test/Io/TileCacheReaderTest.cs @@ -26,6 +26,7 @@ using NUnit.Framework; namespace DotRecast.Detour.TileCache.Test.Io; +[Parallelizable] public class TileCacheReaderTest { private readonly TileCacheReader reader = new TileCacheReader(); diff --git a/test/DotRecast.Detour.TileCache.Test/Io/TileCacheReaderWriterTest.cs b/test/DotRecast.Detour.TileCache.Test/Io/TileCacheReaderWriterTest.cs index 77b7fd7..898f087 100644 --- a/test/DotRecast.Detour.TileCache.Test/Io/TileCacheReaderWriterTest.cs +++ b/test/DotRecast.Detour.TileCache.Test/Io/TileCacheReaderWriterTest.cs @@ -28,6 +28,7 @@ using NUnit.Framework; namespace DotRecast.Detour.TileCache.Test.Io; +[Parallelizable] public class TileCacheReaderWriterTest : AbstractTileCacheTest { private readonly TileCacheReader reader = new TileCacheReader(); diff --git a/test/DotRecast.Detour.TileCache.Test/TempObstaclesTest.cs b/test/DotRecast.Detour.TileCache.Test/TempObstaclesTest.cs index 1421c19..d6238c7 100644 --- a/test/DotRecast.Detour.TileCache.Test/TempObstaclesTest.cs +++ b/test/DotRecast.Detour.TileCache.Test/TempObstaclesTest.cs @@ -26,6 +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 0a983f7..28acdf3 100644 --- a/test/DotRecast.Detour.TileCache.Test/TileCacheFindPathTest.cs +++ b/test/DotRecast.Detour.TileCache.Test/TileCacheFindPathTest.cs @@ -27,6 +27,7 @@ using NUnit.Framework; namespace DotRecast.Detour.TileCache.Test; +[Parallelizable] public class TileCacheFindPathTest : AbstractTileCacheTest { private readonly Vector3f start = Vector3f.Of(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 404f0d1..0139d14 100644 --- a/test/DotRecast.Detour.TileCache.Test/TileCacheNavigationTest.cs +++ b/test/DotRecast.Detour.TileCache.Test/TileCacheNavigationTest.cs @@ -27,6 +27,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 09b88a9..4dd8995 100644 --- a/test/DotRecast.Detour.TileCache.Test/TileCacheTest.cs +++ b/test/DotRecast.Detour.TileCache.Test/TileCacheTest.cs @@ -28,6 +28,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 565d00b..2316170 100644 --- a/test/DotRecast.Recast.Test/RecastLayersTest.cs +++ b/test/DotRecast.Recast.Test/RecastLayersTest.cs @@ -26,6 +26,7 @@ namespace DotRecast.Recast.Test; using static RecastConstants; +[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 49cea6d..fc350ec 100644 --- a/test/DotRecast.Recast.Test/RecastSoloMeshTest.cs +++ b/test/DotRecast.Recast.Test/RecastSoloMeshTest.cs @@ -27,6 +27,7 @@ namespace DotRecast.Recast.Test; using static RecastConstants; +[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 20ab4f2..23a639a 100644 --- a/test/DotRecast.Recast.Test/RecastTest.cs +++ b/test/DotRecast.Recast.Test/RecastTest.cs @@ -22,6 +22,7 @@ namespace DotRecast.Recast.Test; using static RecastConstants; +[Parallelizable] public class RecastTest { [Test] diff --git a/test/DotRecast.Recast.Test/RecastTileMeshTest.cs b/test/DotRecast.Recast.Test/RecastTileMeshTest.cs index dd64ef1..092341d 100644 --- a/test/DotRecast.Recast.Test/RecastTileMeshTest.cs +++ b/test/DotRecast.Recast.Test/RecastTileMeshTest.cs @@ -31,6 +31,7 @@ namespace DotRecast.Recast.Test; using static RecastConstants; +[Parallelizable] public class RecastTileMeshTest { private const float m_cellSize = 0.3f;