tests: Input files should be `Debug`

This commit is contained in:
David Wendt 2022-03-12 12:17:47 -05:00 committed by kmeisthax
parent e28ecbb647
commit 06410e97ba
1 changed files with 3 additions and 3 deletions

View File

@ -8,11 +8,11 @@ use serde::{Deserialize, Serialize};
/// 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
/// down to match the desired stage.
#[derive(Serialize, Deserialize)]
#[derive(Serialize, Deserialize, Debug)]
pub struct MousePosition(pub f64, pub f64);
/// Which mouse button is being pressed or released.
#[derive(Serialize, Deserialize, Copy, Clone)]
#[derive(Serialize, Deserialize, Debug, Copy, Clone)]
pub enum MouseButton {
Left,
Middle,
@ -23,7 +23,7 @@ pub enum MouseButton {
///
/// A FlashTAS input file consists of a string of `AutomatedEvent`s which are
/// played back by FlashTAS.
#[derive(Serialize, Deserialize)]
#[derive(Serialize, Deserialize, Debug)]
#[serde(tag = "type")]
pub enum AutomatedEvent {
/// End the current frame's input and wait for the next frame before