tests: Input files should be `Debug`
This commit is contained in:
parent
e28ecbb647
commit
06410e97ba
|
@ -8,11 +8,11 @@ use serde::{Deserialize, Serialize};
|
||||||
/// pixels) or at 2x the size will see mouse clicks at its bottom right corner
|
/// pixels) or at 2x the size will see mouse clicks at its bottom right corner
|
||||||
/// on (1280x960), relative to the window. That coordinate needs to be scaled
|
/// on (1280x960), relative to the window. That coordinate needs to be scaled
|
||||||
/// down to match the desired stage.
|
/// down to match the desired stage.
|
||||||
#[derive(Serialize, Deserialize)]
|
#[derive(Serialize, Deserialize, Debug)]
|
||||||
pub struct MousePosition(pub f64, pub f64);
|
pub struct MousePosition(pub f64, pub f64);
|
||||||
|
|
||||||
/// Which mouse button is being pressed or released.
|
/// Which mouse button is being pressed or released.
|
||||||
#[derive(Serialize, Deserialize, Copy, Clone)]
|
#[derive(Serialize, Deserialize, Debug, Copy, Clone)]
|
||||||
pub enum MouseButton {
|
pub enum MouseButton {
|
||||||
Left,
|
Left,
|
||||||
Middle,
|
Middle,
|
||||||
|
@ -23,7 +23,7 @@ pub enum MouseButton {
|
||||||
///
|
///
|
||||||
/// A FlashTAS input file consists of a string of `AutomatedEvent`s which are
|
/// A FlashTAS input file consists of a string of `AutomatedEvent`s which are
|
||||||
/// played back by FlashTAS.
|
/// played back by FlashTAS.
|
||||||
#[derive(Serialize, Deserialize)]
|
#[derive(Serialize, Deserialize, Debug)]
|
||||||
#[serde(tag = "type")]
|
#[serde(tag = "type")]
|
||||||
pub enum AutomatedEvent {
|
pub enum AutomatedEvent {
|
||||||
/// End the current frame's input and wait for the next frame before
|
/// End the current frame's input and wait for the next frame before
|
||||||
|
|
Loading…
Reference in New Issue