Skip to content

Add a unit test suite #66

@bbecquet

Description

@bbecquet

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions