-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Line: 61
sirc/sirc-vm/peripheral-cpu/tests/instructions/store_test.rs
Lines 58 to 68 in 6b02032
| fn arbitrary(g: &mut Gen) -> Self { | |
| Self { | |
| shift_count: u8::arbitrary(g) % 15, | |
| // TODO: Test the register shift operand (too complicated for now) | |
| shift_operand: ShiftOperand::Immediate, | |
| shift_type: ShiftType::from_u8(u8::arbitrary(g) % 7).unwrap(), | |
| } | |
| } | |
| } | |
| #[allow(clippy::cast_sign_loss, clippy::needless_pass_by_value)] |
Reactions are currently unavailable