浏览代码

adding tests

/validation-tool
Wesley Mareovich Smith 4 年前
当前提交
88b136a4
共有 1 个文件被更改,包括 7 次插入2 次删除
  1. 9
      com.unity.perception/Tests/Editor/EditorValidationTests.cs

9
com.unity.perception/Tests/Editor/EditorValidationTests.cs


using NUnit.Framework;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using UnityEngine.Perception;
namespace UnityEngine.Perception.ContentTests
namespace ValidationTests
//[Ignore("Test Freezing right now")]
public class EditorValidationTests : ContentTestBaseSetup
{
[Test]

Assert.IsTrue(tests.TestScale(meshRenderers.ToArray()), "Asset scale is outside the bounds");
}
[Ignore("Test Freezing right now")]
[Test]
public void AssetMeshUnweldedVerts()
{

Assert.IsEmpty(failed, "Assets pivot point is not in the correct position!");
}
[Ignore("Test Freezing right now")]
[Test]
public void AssetTexelDensity()
{

Assert.IsTrue(texelDensity, "Assets currently don't support 2048 texel density");
}
[Ignore("Test Freezing right now")]
[Test]
public void AssetsOpenMeshTest()
{

正在加载...
取消
保存