ianmackenzie/elm-geometry

Add more fuzz tests for point/vector/direction functions

Aperta

#103 aperta il 23 lug 2019

 (2 commenti) (0 reazioni) (0 assegnatari)Elm (28 fork)auto 404
good first issuehelp wanted

Metriche repository

Star
 (186 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

The Point#d, Vector#d and Direction#d modules were recently optimized in the coordinate-systems branch to avoid unnecessary object allocations and function calls, but this also meant most functions got more verbose and therefore more prone to typos. It would be very useful to add some more fuzz and/or hardcoded tests for the various functions in these modules, following the patterns in the existing Tests.Point3d etc. test modules. Please make sure you make any PRs against the coordinate-systems branch!

Guida contributor