Skip to content

Commit

Permalink
Fix the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fredizzimo committed Jul 14, 2024
1 parent 4e4e46b commit 4d2fe79
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/renderer/animation_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4d2fe79

Please sign in to comment.