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 CFG reconstruction tests from issue 297 #525

Merged
merged 3 commits into from
Jan 17, 2025
Merged

Add CFG reconstruction tests from issue 297 #525

merged 3 commits into from
Jan 17, 2025

Conversation

sonmarcho
Copy link
Member

This PR adds tests coming from #297

@sonmarcho sonmarcho enabled auto-merge January 14, 2025 19:48
@sonmarcho sonmarcho merged commit f75446d into main Jan 17, 2025
4 checks passed
@sonmarcho sonmarcho deleted the son/cfg branch January 17, 2025 12:58
const FIELD_MODULUS: i16 = 8;
fn f2(a: &[u8], result: &mut [i16]) -> usize {
let mut sampled = 0;
for bytes in a.chunks(3) {
Copy link
Member

Choose a reason for hiding this comment

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

The downside of for loops is that they make us import the whole of Iterator. For future reference in tests I'd prefer we use while loops.

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