Skip to content

test: add coverage for GridGenerator.ring and .spiral#123

Open
dusan-maintains wants to merge 1 commit intoHellenic:masterfrom
dusan-maintains:maintenance/add-ring-spiral-tests
Open

test: add coverage for GridGenerator.ring and .spiral#123
dusan-maintains wants to merge 1 commit intoHellenic:masterfrom
dusan-maintains:maintenance/add-ring-spiral-tests

Conversation

@dusan-maintains
Copy link

Summary

  • Add focused test coverage for GridGenerator.ring() and GridGenerator.spiral().
  • Validate distance/radius invariants and uniqueness for ring output.
  • Validate center inclusion and expected cell count for spiral output.

Why

Test Plan

  • npx jest test/src/GridGenerator.test.tsx --runInBand
  • Result in this environment: all 9 tests passed.

Notes

  • Scope is intentionally limited to tests only; no runtime behavior changes.

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