From e0ca78397ea34cde06ab8257a8481afc812d344f Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Thu, 13 Oct 2022 16:52:44 +0200 Subject: Add a lot of tests on how mdast, unist work --- src/unist.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/unist.rs') 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), -- cgit