diff --git a/src/types/direction.rs b/src/types/direction.rs index e0b66d1..0024c3a 100644 --- a/src/types/direction.rs +++ b/src/types/direction.rs @@ -40,6 +40,13 @@ mod tests { use log::info; use test_log::test; + #[test] + fn test_default() { + let want = Direction::Counterclockwise; + let got = Direction::default(); + assert_eq!(want, got); + } + #[test] fn test_display() { let cases = vec![