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

Add unit test for apply_ap_tracking_correction with invalid offset #1661

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tcoratger
Copy link

Add unit test for apply_ap_tracking_correction with invalid offset

Description

This pull request adds a new unit test for the apply_ap_tracking_correction function in order to cover the scenario where the offset of the hint AP tracking is invalid. This ensures better test coverage and helps identify potential issues related to AP tracking correction.

Checklist

  • Linked to Github Issue
  • Unit tests added
  • Integration tests added.
  • This change requires new documentation.
    • Documentation has been added/updated.
    • CHANGELOG has been updated.

@@ -14,7 +14,7 @@ use super::hint_utils::{get_integer_from_var_name, insert_value_from_var_name};
/// x = ids.x,
/// ids.bit_length = x.bit_length()
/// ```
pub fn get_felt_bitlenght(
pub fn get_felt_bitlength(
Copy link
Member

Choose a reason for hiding this comment

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

Hi @tcoratger. Because this method is public, you'll need to update the changelog, as the rename is a breaking change.

Copy link
Member

@Oppen Oppen left a comment

Choose a reason for hiding this comment

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

Need a changelog entry pointing out the breaking change.

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.

None yet

3 participants