Skip to content

Commit

Permalink
Fix macro usage
Browse files Browse the repository at this point in the history
  • Loading branch information
howardwu committed Feb 4, 2021
1 parent e85d518 commit 8504da9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utilities/src/biginteger/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ use rand_xorshift::XorShiftRng;
#[allow(clippy::eq_op)]
fn biginteger_arithmetic_test<B: BigInteger>(a: B, b: B, zero: B) {
// zero == zero
assert_eq!(zero == zero);
assert!(zero == zero);

// zero.is_zero() == true
assert_eq!(zero.is_zero(), true);

// a == a
assert_eq!(a == a);
assert!(a == a);

// a + 0 = a
let mut a0_add = a;
Expand Down

0 comments on commit 8504da9

Please sign in to comment.