From 4d2fe790bb6436b8ae771ac7a9bc834d37738617 Mon Sep 17 00:00:00 2001 From: Fred Sundvik Date: Sun, 14 Jul 2024 12:15:57 +0300 Subject: [PATCH] Fix the tests --- src/renderer/animation_utils.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/renderer/animation_utils.rs b/src/renderer/animation_utils.rs index 7d658c99e..ff4bff95e 100644 --- a/src/renderer/animation_utils.rs +++ b/src/renderer/animation_utils.rs @@ -154,6 +154,8 @@ impl CriticallyDampedSpringAnimation { mod test { use super::*; + use crate::units::PixelPos; + #[test] fn test_lerp() { assert_eq!(lerp(1.0, 0.0, 1.0), 0.0);