Skip to content

test(spatial): add unit tests for spatial relationships - #11

Merged
ariwired merged 1 commit into
feat/spatial-relationship-enginefrom
test/spatial-relationships
Nov 7, 2026
Merged

ariwired merged 1 commit into
feat/spatial-relationship-enginefrom
test/spatial-relationships

Conversation

@ariwired

@ariwired ariwired commented Nov 7, 2026

Copy link
Copy Markdown
Owner

Closes #8

Stacked on #10 (base is the engine branch; retarget to backend after #10 merges).

Coverage

  • LEFT_OF / RIGHT_OF / ABOVE / BELOW, including equal centers and margin boundary
  • NEAR: exactly at threshold (inclusive), slightly outside, diagonal gap, configurable
  • OVERLAPS: partial, containment, touching edges/corner (no overlap), ratio boundary
  • Invalid input: zero-area, negative dimensions, NaN/inf, non-numeric coordinates, self-relations, duplicate ids, invalid config
  • Reusable fixtures; no Neo4j required; deterministic

@ariwired
ariwired merged commit 2e8b381 into feat/spatial-relationship-engine Nov 7, 2026
1 check passed
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.

1 participant