public void Test(ITestAssert testAssert)
 {
     testAssert.CallTest(GetName());
     Execute();
     testAssert.AssertEquals(vertices_.Length, 10, "Mesh Vertices");
     testAssert.AssertEquals(normals_.Length, 10, "Mesh Normals");
     testAssert.AssertEquals(indices_[0].Length, 27, "Mesh Indices");
 }
Example #2
0
 public void Test(ITestAssert testAssert)
 {
     testAssert.CallTest(GetName());
     Execute();
     testAssert.AssertEquals(mesh.GetVertices().Length, 10, "Mesh Vertices");
     testAssert.AssertEquals(mesh.GetNormals().Length, 10, "Mesh Normals");
     //testAssert.AssertEquals(mesh.GetUVs().Length, 0, "Mesh UVs");
     //testAssert.AssertEquals(mesh.GetTangents().Length, 0, "Mesh Tangents");
     testAssert.AssertEquals(mesh.GetTriangles()[0].Length, 27, "Mesh Indices");
 }
Example #3
0
 public void Test(ITestAssert testAssert)
 {
     testAssert.CallTest(GetName());
     Execute();
     testAssert.AssertEquals(indices_.Length, asset.GetCPN().GetGeometriesCount(), "Count Geometries");
 }
 public void Test(ITestAssert testAssert)
 {
     testAssert.CallTest(GetName());
 }