Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/add interface #9

Merged
merged 2 commits into from
Jul 24, 2023
Merged

Feat/add interface #9

merged 2 commits into from
Jul 24, 2023

Conversation

a-tk
Copy link
Collaborator

@a-tk a-tk commented Jul 24, 2023

Adding interface and test method that compares input and btree output, excluding duplicates from the input.

@a-tk a-tk requested a review from boiseamit July 24, 2023 19:10
*
* @return true if BTree in order traversal matches provide input
*/
private boolean validateBTreeInserts(BTree b, long[] inputKeys) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uglier than intended due to input potentially containing duplicates. Will consider refactoring with more time.

@boiseamit boiseamit merged commit ba51cd6 into master Jul 24, 2023
@a-tk a-tk deleted the feat/add-interface branch July 25, 2023 15:54
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.

2 participants