From 2a002bd28612da91cc8def91c8422fb34b041ce3 Mon Sep 17 00:00:00 2001 From: vorboyvo Date: Wed, 24 Sep 2025 11:46:23 -0400 Subject: [PATCH] moved mod test to top of file --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 1dc351e..686957a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,6 +2,9 @@ use num_traits::Float; mod parser; +#[cfg(test)] +mod test; + /* * NOTES * - each alternative should appear only once in a tree. need to figure out a @@ -83,6 +86,3 @@ impl Tree { fn main() { unimplemented!(); } - -#[cfg(test)] -mod test;