diff --git a/src/command.rs b/src/command.rs index 6dfddb9..bc2313b 100644 --- a/src/command.rs +++ b/src/command.rs @@ -86,11 +86,11 @@ mod tests { #[test] fn test_up_left() { - assert_eq!(state_to_vector(0x1 | 0x2), [0.2, 0.0, -0.5]); + assert_eq!(state_to_vector(0x1 | 0x2), [0.2, 0.0, -0.05]); } #[test] fn test_up_right() { - assert_eq!(state_to_vector(0x1 | 0x4), [0.2, 0.0, 0.5]); + assert_eq!(state_to_vector(0x1 | 0x4), [0.2, 0.0, 0.05]); } }