Skip to content

Commit

Permalink
update 5^28 test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewvious committed Aug 24, 2023
1 parent 64dd5cf commit 83b6c18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sway-lib-std/src/u256.sw
Original file line number Diff line number Diff line change
Expand Up @@ -716,9 +716,9 @@ fn test_pow_u256() {

let five_pow_28 = five.pow(twenty_eight);
assert(five_pow_28.a == 0);
assert(five_pow_28.b == 359414837200037395);
assert(five_pow_28.c == 18446744073709551615);
assert(five_pow_28.d == 18446744073709551615);
assert(five_pow_28.b == 0);
assert(five_pow_28.c == 2);
assert(five_pow_28.d == 359414837200037395);
}

#[test]
Expand Down

0 comments on commit 83b6c18

Please sign in to comment.