19 lines
418 B
C#
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 |