RoboidControl-csharp/test/DirectionTest.cs
Pascal Serrarens fd01740d76 Squashed 'LinearAlgebra/' changes from 9b2a047..493c19c
493c19c Fix ToVector3
35b6830 Support sending poses from Unity changes
6d74649 Compatibility

git-subtree-dir: LinearAlgebra
git-subtree-split: 493c19cbe22465ead382a42ff952b06a24f60dda
2025-06-03 17:49:51 +02:00

19 lines
418 B
C#

#if !UNITY_5_6_OR_NEWER
using NUnit.Framework;
namespace LinearAlgebra.Test {
public class DirectionTest {
[SetUp]
public void Setup() {
}
[Test]
public void Compare() {
Direction d = Direction.Degrees(45, 135);
bool r;
r = d == new Direction(Angle.Degrees(45), Angle.Degrees(135));
Assert.True(r);
}
};
}
#endif