Skip to content

Add tests for GeoInterface.coordtype and fix method ambiguity - #274

Merged
asinghvi17 merged 2 commits into
masterfrom
add-coordtype-tests
Jun 9, 2026
Merged

asinghvi17 merged 2 commits into
masterfrom
add-coordtype-tests

Conversation

@asinghvi17

Copy link
Copy Markdown
Member

Summary

  • Add comprehensive tests for GeoInterface.coordtype covering all geometry types: Point, Line, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, Triangle (Ngon), and Mesh
  • Tests cover different coordinate types (Int, Float32, Float64) and dimensions (2D, 3D)
  • Fix method ambiguity in coordtype implementation by using specific GeoInterface traits instead of AbstractGeometryTrait, which was conflicting with GeoInterface's fallback methods

Test plan

  • All existing tests pass
  • New coordtype tests pass for all geometry types

🤖 Generated with Claude Code

asinghvi17 and others added 2 commits January 16, 2026 06:52
Add comprehensive tests for coordtype covering Point, Line, LineString,
Polygon, MultiPoint, MultiLineString, MultiPolygon, Triangle, and Mesh
types with different coordinate types (Int, Float32, Float64).

Fix method ambiguity in coordtype implementation by using specific
GeoInterface traits instead of AbstractGeometryTrait, avoiding conflicts
with GeoInterface's fallback methods.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@asinghvi17

Copy link
Copy Markdown
Member Author

This one seems mergeable to me, I'll go over the others in the next few days

@asinghvi17
asinghvi17 merged commit b9f9755 into master Jun 9, 2026
13 of 14 checks passed
@asinghvi17
asinghvi17 deleted the add-coordtype-tests branch June 9, 2026 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants