diff --git a/src/main.rs b/src/main.rs index a27e2b3..48fdae4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,17 @@ use std::fs; use std::io; +struct Position { + x: u32, + y: u32, +} + +struct Robot { + id: u32, + o: Orientation, + p: Position, +} + enum Orientation { N, E, @@ -68,5 +79,4 @@ mod tests { assert!(open_file("two_robots.txt").is_ok()); assert!(open_file("test_unexisting_file.extension").is_err()); } - }