Commit graph

21 commits

Author SHA1 Message Date
Jarl Gullberg 6ad8b92c84
Split FsCheck data generators into a helper library (#716)
* Move generators and assertions to helper library.

* Add example usage to bezier curve tests.

* Add FsCheck to OpenTK.Tests.Math via paket.

* Tweak fsharp msbuild settings for OpenTK.Tests.Generators.
2018-01-09 12:06:39 +01:00
Fraser Waters 9d596f674b Add Distance[Squared] methods to Vector2[d] 2017-09-17 14:37:51 +01:00
Jarl Gullberg c6335b7aac
Changed all tests to use the new method. 2017-06-07 15:22:52 +02:00
Jarl Gullberg 6d0f3eb973
Added new and improved floating-point equality tester. 2017-06-04 19:05:43 +02:00
Jarl Gullberg 4ae58b3073
Changed some Equals to ApproximatelyEquals. 2017-06-03 22:42:39 +02:00
varon 1d1428c3e4 Merge pull request #5 from Nihlus/fix-vector-componentminmax
Mark Min/Max as obsolete and implement ComponentMin/Max and MagnitudeMin/Max for all vector classes.
2017-06-03 20:12:07 +02:00
Jarl Gullberg c3fa66eb15
Implemented all ComponentMin/Max and MagnitudeMin/Max tests. 2017-06-02 20:33:00 +02:00
varon 87dcb3144a Fix compile inference error under VS2015 2017-06-02 13:48:29 +02:00
Jarl Gullberg 0cd47f2c3c
Added test of multiplication operators. 2017-06-02 10:56:02 +02:00
Jarl Gullberg 5c4ef39c92
Removed fake casts. 2017-06-01 22:09:04 +02:00
Jarl Gullberg 7d846c4459
Strip trailing spaces. 2017-06-01 21:12:59 +02:00
Jarl Gullberg c7298d8784
Improved test naming. 2017-06-01 21:09:10 +02:00
Jarl Gullberg d352853f47
Complete coverage for Vector2. 2017-06-01 16:04:51 +02:00
Jarl Gullberg a658d7a1cd
Ported more arithmetic tests. 2017-05-31 22:38:54 +02:00
Jarl Gullberg 476d55b5dd
Missed one. 2017-05-31 22:28:51 +02:00
Jarl Gullberg be213a7828
Fixed normalization tests in Vector3 and ported some common tests to Vector2. 2017-05-31 22:28:27 +02:00
Jarl Gullberg 108906dfe4
Ported all Vector3 tests. 2017-05-31 20:08:41 +02:00
Jarl Gullberg 9ac04b9e36
Ensure that the vectors are different. 2017-05-31 16:45:18 +02:00
Jarl Gullberg c4c4dfecc5
Corrected badly formed tests. 2017-05-31 16:39:19 +02:00
Jarl Gullberg 890d96798a
Added more tests for the Vector2 class. 2017-05-31 16:14:04 +02:00
Jarl Gullberg 23bbe37eb9
Renamed Vectors.fs to Vector2Tests.fs. 2017-05-31 14:46:50 +02:00
Renamed from tests/OpenTK.Tests/Vectors.fs (Browse further)