Skip to content

Test the register shift operand (too complicated for now) #364

@github-actions

Description

@github-actions

Line: 61

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)]

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions