diff --git a/fhevm-engine/src/tests/operators.rs b/fhevm-engine/src/tests/operators.rs index aa9f5c4f..2eb511a1 100644 --- a/fhevm-engine/src/tests/operators.rs +++ b/fhevm-engine/src/tests/operators.rs @@ -369,6 +369,10 @@ fn compute_expected_unary_output(inp: &BigInt, op: SupportedFheOperations, bits: let inp: u32 = inp.try_into().unwrap(); BigInt::from(inp.not()) } + 64 => { + let inp: u64 = inp.try_into().unwrap(); + BigInt::from(inp.not()) + } other => { panic!("unknown bits: {other}") } @@ -388,6 +392,10 @@ fn compute_expected_unary_output(inp: &BigInt, op: SupportedFheOperations, bits: let inp: i32 = inp.try_into().unwrap(); BigInt::from(-inp as u32) } + 64 => { + let inp: i64 = inp.try_into().unwrap(); + BigInt::from(-inp as u64) + } other => { panic!("unknown bits: {other}") }