Files
AIC-Project/Client/Assets/Script/Tests/EditMode/ActorBehaviorAnimatorControllerPathTests.cs
T

20 lines
578 B
C#

using NUnit.Framework;
using XGame.ActorBehavior;
public sealed class ActorBehaviorAnimatorControllerPathTests
{
[Test]
public void GetControllerPath_Fighter_ReturnsGeneratedFighterController()
{
Assert.That(
ActorBehaviorAnimatorControllerPaths.GetControllerPath("fighter"),
Is.EqualTo("Assets/Game/Art/Actor/Controller/fighter.controller"));
}
[Test]
public void GetControllerPath_UnknownType_ReturnsNull()
{
Assert.That(ActorBehaviorAnimatorControllerPaths.GetControllerPath("unknown"), Is.Null);
}
}