You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
557 B
25 lines
557 B
using UnityEditor;
|
|
using NUnit.Framework;
|
|
using UnityEditor.Rendering;
|
|
|
|
namespace UnityEngine.Rendering.Tests
|
|
{
|
|
class ScriptTemplatesTests
|
|
{
|
|
string[] paths = new string[]
|
|
{
|
|
$"{ScriptTemplates.ScriptTemplatePath}BlitSRP.txt"
|
|
};
|
|
|
|
[Test]
|
|
public void ScriptTemplatesExist()
|
|
{
|
|
for (int i = 0; i < paths.Length; i++)
|
|
{
|
|
var asset = AssetDatabase.LoadAssetAtPath<TextAsset>(paths[i]);
|
|
|
|
Assert.NotNull(asset);
|
|
}
|
|
}
|
|
}
|
|
}
|