Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a unit test suite #66

Open
2 of 3 tasks
bbecquet opened this issue Aug 30, 2017 · 1 comment
Open
2 of 3 tasks

Add a unit test suite #66

bbecquet opened this issue Aug 30, 2017 · 1 comment
Labels

Comments

@bbecquet
Copy link
Owner

bbecquet commented Aug 30, 2017

Should have done it a long time ago… Will be useful for non-regression and the myriad of edge cases.

Some things to test, not exhaustive:

  • support of every form of polyline/polygon/multi-poly*
  • parsing of offset/repeat options
  • projection algorithm:
    • negative, 0, 1, and > 1 offsets
    • 0 repeat
    • 0-length polylines
    • horizontal and vertical segments
    • correct number of symbols projected
    • correct angle
@bbecquet bbecquet added the todo label Aug 30, 2017
@bbecquet
Copy link
Owner Author

bbecquet commented Sep 6, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant