Skip to content

test: cover archive iterator and empty result regressions - #96

Closed
MLopez-Ibanez wants to merge 3 commits into
ndtreefrom
tests/archive-regressions-pr82
Closed

MLopez-Ibanez wants to merge 3 commits into
ndtreefrom
tests/archive-regressions-pr82

Conversation

@MLopez-Ibanez

Copy link
Copy Markdown
Contributor

Adds regression coverage for two issues found in PR #82:

  • Ensure adding an accepted duplicate invalidates an active archive iterator in both 2D (Treap) and 3D (ND-tree).
  • Ensure get_unique_vectors() returns an ndarray with shape (0, dim) for an empty archive.

These tests currently fail on ndtree because the duplicate mutation does not invalidate iterators and the empty result is a list. This PR adds tests only; it does not change implementation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@MLopez-Ibanez
MLopez-Ibanez added this pull request to stack #83 November 6, 2026 18:26
MLopez-Ibanez and others added 2 commits November 6, 2026 18:38
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@MLopez-Ibanez
MLopez-Ibanez deleted the tests/archive-regressions-pr82 branch November 8, 2026 12:54
@MLopez-Ibanez
MLopez-Ibanez removed this pull request from stack #83 November 8, 2026 12: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.

1 participant