Firstborn/Library/PackageCache/com.unity.cinemachine@2.8.9/Tests/Editor/ScriptableObjectUtilityTest...
Schaken-Mods b486678290 Library -Artifacts
Library -Artifacts
2023-03-28 12:24:16 -05:00

25 lines
812 B
C#

using NUnit.Framework;
using Cinemachine.Editor;
using System.IO;
namespace Tests.Editor
{
[TestFixture]
public class ScriptableObjectUtilityTests
{
[Test]
public void CinemachineInstallPathIsValid()
{
var pathToCmLogo = Path.Combine(ScriptableObjectUtility.CinemachineInstallPath, "Editor/EditorResources/cm_logo_sm.png");
Assert.That(File.Exists(pathToCmLogo));
}
[Test]
public void CinemachineInstallRelativePathIsValid()
{
var relativePathToCmLogo = Path.Combine(ScriptableObjectUtility.CinemachineRealativeInstallPath, "Editor/EditorResources/cm_logo_sm.png");
var pathToCmLogo = Path.GetFullPath(relativePathToCmLogo);
Assert.That(File.Exists(pathToCmLogo));
}
}
}