Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
snendev committed Nov 17, 2024
1 parent fbe0c4e commit 6a1d7f6
Showing 1 changed file with 5 additions and 25 deletions.
30 changes: 5 additions & 25 deletions src/timestamped_input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -420,31 +420,11 @@ mod tests {

fn complex_timestamped_input() -> TimestampedInputs {
let mut inputs = TimestampedInputs::default();
inputs.send(
FrameCount(0),
Duration::from_secs(0),
LEFT_CLICK_PRESS,
);
inputs.send(
FrameCount(1),
Duration::from_secs(1),
LEFT_CLICK_RELEASE,
);
inputs.send(
FrameCount(2),
Duration::from_secs(2),
LEFT_CLICK_PRESS,
);
inputs.send(
FrameCount(2),
Duration::from_secs(3),
LEFT_CLICK_PRESS,
);
inputs.send(
FrameCount(3),
Duration::from_secs(3),
LEFT_CLICK_PRESS,
);
inputs.send(FrameCount(0), Duration::from_secs(0), LEFT_CLICK_PRESS);
inputs.send(FrameCount(1), Duration::from_secs(1), LEFT_CLICK_RELEASE);
inputs.send(FrameCount(2), Duration::from_secs(2), LEFT_CLICK_PRESS);
inputs.send(FrameCount(2), Duration::from_secs(3), LEFT_CLICK_PRESS);
inputs.send(FrameCount(3), Duration::from_secs(3), LEFT_CLICK_PRESS);

inputs
}
Expand Down

0 comments on commit 6a1d7f6

Please sign in to comment.