diff options
Diffstat (limited to 'src/unist.rs')
-rw-r--r-- | src/unist.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/unist.rs b/src/unist.rs index ce2de65..514e661 100644 --- a/src/unist.rs +++ b/src/unist.rs @@ -80,14 +80,17 @@ mod tests { use alloc::format; #[test] - fn unist_test() { + fn point() { let point = Point::new(1, 1, 0); assert_eq!( format!("{:?}", point), "1:1 (0)", "should support `Debug` on unist points" ); + } + #[test] + fn position() { let position = Position::new(1, 1, 0, 1, 3, 2); assert_eq!( format!("{:?}", position), |