Skip to content

Conversation

@mdqst
Copy link

@mdqst mdqst commented Sep 22, 2025

updated the logic inside for_each to actually store the result of branches(x) in result.
added assert_eq! checks to make sure the function behaves correctly for all random inputs.

p.s. previously, the function was called but its output wasn't verified, so tests could pass even if the logic was wrong.
now the behavior is properly validated.

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.

1 participant