Commit graph

52 commits

Author SHA1 Message Date
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
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
05fcf7961e
Added final multiplication test and split one test into two. 2017-05-31 22:20:46 +02:00
Jarl Gullberg
72b00b4460
Added additional multiplication and division tests. 2017-05-31 22:09:04 +02:00
Jarl Gullberg
03f916abbb
Added Vector4 constructor test. 2017-05-31 21:40:44 +02:00
Jarl Gullberg
e4ec841e7a
Added preventing of division-by-zero cases when normalizing. 2017-05-31 21:31:11 +02:00
Jarl Gullberg
754e577623
Increased approximation tolerance. 2017-05-31 21:26:21 +02:00
Jarl Gullberg
b83174af94
Added additional check against nonmatrix objects. 2017-05-31 20:21:16 +02:00
Jarl Gullberg
108906dfe4
Ported all Vector3 tests. 2017-05-31 20:08:41 +02:00
Jarl Gullberg
48889ad308
Ported existing Matrix4 tests. 2017-05-31 17:48:33 +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
varon
4ee0700bab Update project deps 2017-05-31 14:13:17 +02:00
varon
33dfaa2df7 Fix div-by-zero in component division test 2017-03-19 16:43:19 +02:00
varon
4e93da0f41 fixed and disabled test with possibly broken implementation 2017-03-19 16:36:36 +02:00
varon
6e0f55a584 Add additional Vector2 tests 2017-03-19 16:32:37 +02:00
varon
68c4260f52 Slightly reduce approxEq bit equality accuracy 2017-03-19 16:17:53 +02:00
varon
79ec4c89a3 Enhance testing; add more generators; add testing for approxEqual 2017-03-19 15:35:46 +02:00
varon
fee1cfe21b Improve vector test organization 2017-03-19 13:39:01 +02:00
varon
5cb6090343 Add property based testing framework + example for vectors 2017-03-19 13:35:00 +02:00
varon
c17b66c6fc Removed old tests 2017-03-19 12:50:11 +02:00