Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
emirsoyturk committed Jan 1, 2025
1 parent 0af7f3c commit 8e2c1e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wrappers/rust/icicle-core/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ where
let result2 = result1 - scalars_b[i];
assert_eq!(result2, scalars_a[i]);
}

// Test field multiplication API
let scalar_a = scalars_a[0];
let square = scalar_a.sqr();
let mul_by_self = scalar_a.mul(scalar_a);
assert_eq!(square, mul_by_self);

// Test field pow API
let pow_4 = scalar_a.pow(4);
let mul_mul = mul_by_self.mul(mul_by_self);
Expand Down

0 comments on commit 8e2c1e3

Please sign in to comment.