ianmackenzie/elm-geometry

Add more fuzz tests for point/vector/direction functions

开放

#103 创建于 2019年7月23日

 (2 条评论) (0 个反应) (0 位负责人)Elm (28 个派生)auto 404
good first issuehelp wanted

仓库指标

星标
 (186 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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!

贡献者指南