ianmackenzie/elm-geometry

Add more fuzz tests for point/vector/direction functions

Ouverte

#103 ouverte le 23 juil. 2019

 (2 commentaires) (0 réaction) (0 personne assignée)Elm (28 forks)auto 404
good first issuehelp wanted

Métriques du dépôt

Stars
 (186 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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!

Guide contributeur