|
|
|
|
|
|
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() |
|
|
|
{ |
|
|
|