d3-geo icon indicating copy to clipboard operation
d3-geo copied to clipboard

fix: add a test to check for circle ring closure

Open llamington opened this issue 1 year ago • 1 comments

Adds a test to satisfy https://github.com/d3/d3-geo/issues/289

llamington avatar Jun 28 '24 20:06 llamington

Upgrading the test is not enough; we'll want to add a test for the case that breaks, and fix the generator: https://github.com/d3/d3-geo/blob/8c53a90ae70c94bace73ecb02f2c792c649c86ba/src/circle.js#L20

(this should probably store the starting point and repeat it at the end).

Fil avatar Jul 02 '24 13:07 Fil