Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Commit

Permalink
max syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
lordshashank committed Sep 27, 2024
1 parent 4507f2e commit 5cd4135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/utils/src/helpers.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ mod tests {

#[test]
fn test_bytes_32_words_size_edge_case() {
let max_usize = usize::MAX;
let max_usize = core::num::traits::Bounded::<usize>::MAX;
assert_eq!(helpers::bytes_32_words_size(max_usize), (max_usize / 32) + 1);
}
}

0 comments on commit 5cd4135

Please sign in to comment.