Closed bi3mer closed 7 years ago
Currently fails unit tests that aren't pushed up yet:
[Test] public void RandomVector2dMaxMagnitudeTest() { const float maxMagnitude = 10; for (int i = 0; i < 100; ++i) { Vector2 res = RandomUtility.RandomVector2d(maxMagnitude); Assert.IsTrue(res.magnitude <= maxMagnitude); } }
Currently fails unit tests that aren't pushed up yet: