mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-10 09:43:09 +00:00
cleanup
This commit is contained in:
parent
e0a4bc3157
commit
062eb82a8b
@ -274,12 +274,10 @@ fn test_cmp_bignum_all() -> Result<()> {
|
||||
for bit_size in BIT_SIZES_TO_TEST {
|
||||
let a = gen_bignum(bit_size);
|
||||
let b = gen_bignum(bit_size);
|
||||
let output = if a < b {
|
||||
MINUS_ONE
|
||||
} else if a == b {
|
||||
0.into()
|
||||
} else {
|
||||
1.into()
|
||||
let output = match a.cmp(&b) {
|
||||
Ordering::Less => U256::MINUS_ONE,
|
||||
Ordering::Equal => 0.into(),
|
||||
Ordering::Greater => 1.into(),
|
||||
};
|
||||
test_cmp_bignum(a, b, output)?;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user