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.
17 lines
450 B
17 lines
450 B
using NUnit.Framework;
|
|
|
|
namespace UnityEngine.XR.ARFoundation
|
|
{
|
|
[TestFixture]
|
|
public class PoseExtensionsTestFixture
|
|
{
|
|
[Test]
|
|
public void InverseTransformPositionTest()
|
|
{
|
|
Pose pose = default(Pose);
|
|
Vector3 vec = new Vector3(1,2,3);
|
|
|
|
Assert.That(vec == pose.InverseTransformPosition(vec), "Inverse transform position not the same as input for a default pose.");
|
|
}
|
|
}
|
|
}
|