Commit Graph

37 Commits

Author SHA1 Message Date
Ben Cragg 997f23dfb5 WIP line tests 2019-04-02 17:01:18 +01:00
Ben Cragg 237d77596f WIP line tests 2019-04-02 13:48:43 +01:00
Ben Cragg c7eac06499 WIP line tests 2019-04-02 13:46:50 +01:00
Ben Cragg 55b87ca5b1 WIP line tests 2019-04-02 13:33:41 +01:00
Ben Cragg 2478da5d12 wip adding line tests 2019-04-02 08:49:45 +01:00
Ben Cragg cca37c750e wip adding line tests 2019-04-01 16:01:08 +01:00
Ben Cragg 1a275b5929 Filled rect tests 2019-04-01 15:44:14 +01:00
Ben Cragg 1eac5d8dc2 Added test templates for new rect tests 2019-04-01 15:33:31 +01:00
Ben Cragg a5ea71811e Added test templates 2019-04-01 15:31:34 +01:00
Ben Cragg b3246f6234 Updated tests 2019-02-18 12:16:16 +00:00
Ben Cragg 6f1e3bbbf8 More intersection tests 2019-02-14 14:23:50 +00:00
Ben Cragg b61602cdf4 fixed area tests 2019-02-14 14:23:50 +00:00
Ben Cragg f21c48599f Made naming consistent 2019-02-14 14:23:50 +00:00
Ben Cragg ab70533793 wip 2019-02-14 14:23:50 +00:00
Ben Cragg 5abf2d29a6 swapped radius and center order 2019-02-14 14:23:50 +00:00
Ben Cragg 4d30a8fe49 fixed intersect function 2019-02-14 14:23:50 +00:00
Ben Cragg 520459bc6d made test param generation more consistant 2019-02-14 14:23:50 +00:00
Ben Cragg 2e275ab0d5 Made test clearer 2019-02-14 14:23:50 +00:00
Ben Cragg b06a31baa3 Removed Diameter function 2019-02-14 14:23:50 +00:00
Ben Cragg 4c6d061455 added rect-circle intersection functions 2019-02-14 14:23:50 +00:00
Ben Cragg 620c551f70 moved rect test struct 2019-02-14 14:23:50 +00:00
Ben Cragg 16722d55e1 not exporting circle size comparisons 2019-02-14 14:22:52 +00:00
Ben Cragg ee24eeb67d fixed circle.Intersect 2019-02-14 14:22:52 +00:00
Ben Cragg 5072f34b91 Added Circle geometry and tests 2019-02-14 14:22:52 +00:00
Jacek Olszak 42cc2a0376 #159 Use map instead of array for named Matrices 2019-02-13 15:25:12 +01:00
Jacek Olszak 742d1226d8 #159 Make namedMatrices an array instead of slice 2019-02-13 15:13:04 +01:00
Jacek Olszak 0a054f35fd #159 Name matrices in unit test to avoid confusion with test cases 2019-02-13 15:06:50 +01:00
Jacek Olszak 392fe90b11 #159 Test whether Matrix.Unprejected(Matrix.Projected(vertex)) == vertex 2019-02-13 14:39:47 +01:00
Jacek Olszak 0aec9fead0 #159 Format code in TestMatrix_Unproject 2019-02-12 18:53:38 +01:00
Jacek Olszak 1e19db5b25 #159 Add test case when matrix determinant is not 1 2019-02-12 18:40:15 +01:00
Jacek Olszak a0713598da #159 Add test case for rotated and moved matrix 2019-02-12 16:26:19 +01:00
Jacek Olszak 3b366d1edd #159 Use more precise delta for floats comparision 2019-02-12 15:24:17 +01:00
Jacek Olszak cabaee680e #159 Fix unproject for rotated matrix 2019-02-12 14:57:03 +01:00
ALex Ogier 2a32545253 minor adjustments with how tests are named and run 2017-11-20 13:51:15 +13:00
ALex Ogier eedeb85b14 refactor and add test cases 2017-11-20 13:51:15 +13:00
Alex e3d056d36f add more test transforms, now includes: center, origin, min, max and middle of side 2017-07-29 11:05:46 +12:00
Alex 3e3a9aaa48 fix operation order for rectangle resize function, add tests 2017-07-29 00:40:06 +12:00