Skip to content

Consolidate archive tests and cover _archive.py - #97

Closed
MLopez-Ibanez wants to merge 1 commit into
ndtreefrom
archive-tests-coverage
Closed

MLopez-Ibanez wants to merge 1 commit into
ndtreefrom
archive-tests-coverage

Conversation

@MLopez-Ibanez

Copy link
Copy Markdown
Contributor

Summary

  • Consolidate duplicate archive tests and parameterize applicable cases for dimensions 2 and 3.
  • Add focused coverage for archive accessors, validation and error paths, and displaced reinsertion.
  • Achieve 100% line and branch coverage of python/src/moocore/_archive.py when running test_archiving.py.

Validation

  • python -m pytest tests/test_archiving.py -q (30 passed)
  • ruff check tests/test_archiving.py
  • ruff format --check tests/test_archiving.py

Stacked on PR #82; targets its ndtree branch.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@MLopez-Ibanez
MLopez-Ibanez deleted the archive-tests-coverage branch November 8, 2026 11:43
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