forked from mirror/DotRecast
cleanup TestMeshDataFactory
This commit is contained in:
parent
34d2ef639a
commit
104b5b02b2
|
@ -65,7 +65,7 @@ public abstract class AbstractDetourTest
|
||||||
protected DtNavMesh CreateNavMesh()
|
protected DtNavMesh CreateNavMesh()
|
||||||
{
|
{
|
||||||
var mesh = new DtNavMesh();
|
var mesh = new DtNavMesh();
|
||||||
mesh.Init(RecastTestMeshBuilder.Create(), 6, 0);
|
mesh.Init(TestMeshDataFactory.Create(), 6, 0);
|
||||||
return mesh;
|
return mesh;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -33,7 +33,7 @@ public class MeshDataReaderWriterTest
|
||||||
[SetUp]
|
[SetUp]
|
||||||
public void SetUp()
|
public void SetUp()
|
||||||
{
|
{
|
||||||
meshData = RecastTestMeshBuilder.Create();
|
meshData = TestMeshDataFactory.Create();
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
|
|
@ -31,7 +31,7 @@ public class NavMeshBuilderTest
|
||||||
[SetUp]
|
[SetUp]
|
||||||
public void SetUp()
|
public void SetUp()
|
||||||
{
|
{
|
||||||
nmd = RecastTestMeshBuilder.Create();
|
nmd = TestMeshDataFactory.Create();
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
|
|
@ -22,7 +22,7 @@ using DotRecast.Recast.Geom;
|
||||||
|
|
||||||
namespace DotRecast.Detour.Test;
|
namespace DotRecast.Detour.Test;
|
||||||
|
|
||||||
public static class RecastTestMeshBuilder
|
public static class TestMeshDataFactory
|
||||||
{
|
{
|
||||||
private const float m_cellSize = 0.3f;
|
private const float m_cellSize = 0.3f;
|
||||||
private const float m_cellHeight = 0.2f;
|
private const float m_cellHeight = 0.2f;
|
|
@ -25,9 +25,6 @@ using NUnit.Framework;
|
||||||
|
|
||||||
namespace DotRecast.Recast.Test;
|
namespace DotRecast.Recast.Test;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public class RecastLayersTest
|
public class RecastLayersTest
|
||||||
{
|
{
|
||||||
private const float m_cellSize = 0.3f;
|
private const float m_cellSize = 0.3f;
|
||||||
|
|
Loading…
Reference in New Issue