Skip to content

Conversation

@jdimaria
Copy link

@jdimaria jdimaria commented Dec 3, 2024

Resolves #272, simple adoption of the _test package to enforce testing strictly against the public data structure APIs

Previous tests have been confirmed to still pass with updated imports

Only test that needed additional updates was inside btree_test.go, which was the only test that broke convention by testing unexported fields beyond simple reads (see TestBTreeSearch())

The intended test behavior has been replicated as closely as possible using exported methods

@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 3, 2024

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.

Adopt '_test' package idiom

1 participant