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

test: add conprehensive integration test #7

Merged
merged 3 commits into from
Nov 28, 2024

Conversation

martinvibes
Copy link
Contributor

@martinvibes martinvibes commented Nov 23, 2024

hey @julienbrs kindly review #4
added Comprehensive Integration Tests

@martinvibes
Copy link
Contributor Author

hey @julienbrs kindly review

@julienbrs julienbrs self-requested a review November 27, 2024 15:36
Copy link
Collaborator

@julienbrs julienbrs left a comment

Choose a reason for hiding this comment

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

Good work on setting this up @martinvibes! However, you should add some assertions at the end of each test to validate the expected outcomes. For example:

  • Compare Merkle tree root hashes with precomputed expected values.
  • Validate the correctness of generated proofs, potentially by reconstructing and verifying the root hash.
  • Ensure merged trees' root hashes and allocation integrity are explicitly tested.

These assertions will ensure the tests not only run successfully but also verify that the outputs match the expected results.

@martinvibes
Copy link
Contributor Author

hey @julienbrs kindly review
i think we're good now :)

@julienbrs julienbrs merged commit 36aa9f2 into carbonable-labs:main Nov 28, 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.

2 participants