Commit graph

79 commits

Author SHA1 Message Date
Fraser Waters 1d563f1749 Pin paket version and reinstall dependencies
Pinning the version of paket used should ensure that running of "paket
install" is reproducible ensuring our CI git diff check doesn't spuriously
fail.
2018-01-28 17:42:55 +00:00
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
Jarl Gullberg 2665f338dd
Merge pull request #714 from ThomasD13/quaternion
Quaternion
2018-01-06 20:52:35 +01:00
Unknown 113d380a2e Removed empty lines 2018-01-06 20:16:36 +01:00
Unknown c5d597c545 Fixed params and names 2018-01-06 19:50:03 +01:00
Fraser Waters 031320a15c Run paket install 2018-01-05 12:58:23 +00:00
Unknown a875bfe6b9 Restructured Quaternion tests 2018-01-03 20:36:29 +01:00
Unknown 5aed63e396 Refactored helper unit test classes
Extracted classes which provides data and verify test results into seperate files.

Replaced String with string and removed the System namespace.
2018-01-03 19:46:04 +01:00
Unknown 079f5c5242 Fixed typos 2018-01-02 20:24:15 +01:00
Unknown f0e5754abc Add unit tests which reveal converting problems with euler angles
Partly covered methods which converts between euler angles and quaternions.

Whats still missing here is applied rotation axis and rotation orientation (counter clockwise + right hand rule)
2018-01-02 17:47:33 +01:00
Fraser Waters f7a30e2c50 xUnit math tests 2018-01-01 19:51:48 +00:00
Fraser Waters 9610f20258 Remove and ignore AsssemblyInfo files (built by FAKE) 2018-01-01 19:33:25 +00:00
Fraser Waters cf33b96686 Run paket install 2017-12-27 22:53:52 +00:00
Fraser Waters e72432fe01 Remove Test.API.Desktop 2017-12-26 18:42:20 +00:00
Fraser Waters 4f9e057358 Add Distance[Squared] methods to Vector3[d] 2017-09-17 14:37:51 +01:00
Fraser Waters 9d596f674b Add Distance[Squared] methods to Vector2[d] 2017-09-17 14:37:51 +01:00
Fraser Waters 05abff631a Add some tests for the Half type 2017-09-10 19:39:47 +01:00
Fraser Waters 83429da3b4 Add GameWindow tests 2017-07-30 22:36:26 +01:00
Fraser Waters 662d6f14f5 Add debug actions to run xUnit to Tests.fsproj 2017-07-30 22:36:26 +01:00
Jarl Gullberg 86113a4eeb
Added StyleCop.Analyzers to the solution. 2017-07-26 16:41:14 +02:00
Jarl Gullberg aa3c256625
Bumped Mono.Cecil version to correct build errors. 2017-07-15 18:31:32 +02:00
Jarl Gullberg eb53f2ce59
Bumped framework target of Generator.Convert and updated to v2 of CommandLineParser. 2017-07-15 15:23:04 +02:00
Jarl Gullberg f6ee6e2a03
Added CommandLineParser to Generator.Converter 2017-07-15 14:55:04 +02:00
Jarl Gullberg a67340e2b3
Added deterministic option to all relevant projects. 2017-07-05 13:49:08 +02:00
Jarl Gullberg 0361cf9fcc
Updated FSharp.Core reference as a side effect. 2017-06-13 19:59:58 +02:00
Jarl Gullberg 268c3a0220
Corrected bad search & replace. 2017-06-07 15:24:20 +02:00
Jarl Gullberg c6335b7aac
Changed all tests to use the new method. 2017-06-07 15:22:52 +02:00
Jarl Gullberg 87de6dda4d
Merged new equivalence function. 2017-06-07 14:27:36 +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 d27a4671a5
Improved test name. 2017-06-02 22:25:44 +02:00
Jarl Gullberg b26242d1db
Decreased approximation sensitivity even more. 2017-06-02 20:44:30 +02:00
Jarl Gullberg 0438a0325a
Decreased approximation sensitivity again. 2017-06-02 20:35:14 +02:00
Jarl Gullberg 5191491cdb
Fixed MagnitudeMin test. 2017-06-02 20:34:13 +02:00
Jarl Gullberg c3fa66eb15
Implemented all ComponentMin/Max and MagnitudeMin/Max tests. 2017-06-02 20:33:00 +02:00
Jarl Gullberg 28bede6ca1
Added filtering for vector generation to only produce valid vectors. 2017-06-02 20:32:16 +02:00
varon 92d4c942f4 Fix additional compile inference errors under VS2015 2017-06-02 13:56:11 +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 c12eefa0cf
Added extra filtering to generated Quaternions. 2017-06-02 10:39:13 +02:00
Jarl Gullberg c64327b8a9
Increased delta bits and changed quaternion generator. 2017-06-01 23:22:57 +02:00
Jarl Gullberg 5c4ef39c92
Removed fake casts. 2017-06-01 22:09:04 +02:00
Jarl Gullberg a2a9c922d4
Added transformation by quaternion test. 2017-06-01 21:26:34 +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 cae5619c0e
Added Vector4 tests. 2017-06-01 19:53:32 +02:00
Jarl Gullberg 3c2cda885b
Corrected row variables. 2017-06-01 16:07:21 +02:00
Jarl Gullberg ca0d549534
Add row property tests. 2017-06-01 16:05:14 +02:00
Jarl Gullberg e33c3395af
More tests. 2017-06-01 16:05:02 +02:00