Skip to content

Commit

Permalink
cleanup TestMeshDataFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
ikpil committed May 25, 2024
1 parent 34d2ef6 commit 104b5b0
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion test/DotRecast.Detour.Test/AbstractDetourTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public void SetUp()
protected DtNavMesh CreateNavMesh()
{
var mesh = new DtNavMesh();
mesh.Init(RecastTestMeshBuilder.Create(), 6, 0);
mesh.Init(TestMeshDataFactory.Create(), 6, 0);
return mesh;
}
}
2 changes: 1 addition & 1 deletion test/DotRecast.Detour.Test/Io/MeshDataReaderWriterTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class MeshDataReaderWriterTest
[SetUp]
public void SetUp()
{
meshData = RecastTestMeshBuilder.Create();
meshData = TestMeshDataFactory.Create();
}

[Test]
Expand Down
2 changes: 1 addition & 1 deletion test/DotRecast.Detour.Test/NavMeshBuilderTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class NavMeshBuilderTest
[SetUp]
public void SetUp()
{
nmd = RecastTestMeshBuilder.Create();
nmd = TestMeshDataFactory.Create();
}

[Test]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ 3. This notice may not be removed or altered from any source distribution.

namespace DotRecast.Detour.Test;

public static class RecastTestMeshBuilder
public static class TestMeshDataFactory
{
private const float m_cellSize = 0.3f;
private const float m_cellHeight = 0.2f;
Expand Down
3 changes: 0 additions & 3 deletions test/DotRecast.Recast.Test/RecastLayersTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ 3. This notice may not be removed or altered from any source distribution.

namespace DotRecast.Recast.Test;




public class RecastLayersTest
{
private const float m_cellSize = 0.3f;
Expand Down

0 comments on commit 104b5b0

Please sign in to comment.