Skip to content

Harden interval tree API tests - #5

Merged
Courtland9777 merged 1 commit into
masterfrom
codex/test-api-hardening
Jul 11, 2026
Merged

Harden interval tree API tests#5
Courtland9777 merged 1 commit into
masterfrom
codex/test-api-hardening

Conversation

@Courtland9777

Copy link
Copy Markdown
Owner

Summary

  • Add focused edge-case coverage for point queries, overlap queries, duplicates, empty intervals, no-match cases, nested intervals, adjacent half-open intervals, DateTime intervals, and deeper removal behavior.
  • Add deterministic randomized add/remove/query tests checked against a simple in-test brute-force list model.
  • Keep the public API and implementation unchanged because no correctness bug was exposed.

Validation

  • git diff --check
  • dotnet format IntervalTree.Net.sln --verify-no-changes
  • dotnet restore IntervalTree.Net.sln
  • dotnet build IntervalTree.Net.sln --configuration Release --no-restore
  • dotnet test IntervalTree.Net.sln --configuration Release --no-build
  • dotnet pack src/IntervalTree.Net/IntervalTree.Net.csproj --configuration Release --no-build

All validation passed using temporary NuGet cache paths under /tmp to avoid the known local cache permission issue. No publication was performed.

@Courtland9777
Courtland9777 merged commit 967cef5 into master Jul 11, 2026
1 check passed
@Courtland9777
Courtland9777 deleted the codex/test-api-hardening branch July 11, 2026 14:12
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