Skip to content

Commit

Permalink
fix: update expected values in bitwise instruction test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
boscocg committed Jan 9, 2025
1 parent 94ec41c commit 58da1d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/interpreter/src/instructions/bitwise.rs
Original file line number Diff line number Diff line change
Expand Up @@ -436,15 +436,15 @@ mod tests {
let test_cases = vec![
TestCase {
op1: U256::from(1u64),
expected: U256::from(0u64),
expected: !U256::from(1u64),
},
TestCase {
op1: U256::from(0u64),
expected: U256::from(1u64),
expected: !U256::from(0u64),
},
TestCase {
op1: U256::from(0x1234567890abcdefu128),
expected: U256::from(0xedcba9876f543210u128),
expected: !U256::from(0x1234567890abcdefu128),
},
];

Expand Down

0 comments on commit 58da1d6

Please sign in to comment.