From 4a5ec32b1cc667ce462c3f10dbdb82a8253a48e8 Mon Sep 17 00:00:00 2001 From: Philipp Caspers <117186241+philipp-caspers@users.noreply.github.com> Date: Mon, 23 Sep 2024 15:30:00 +0000 Subject: [PATCH] test: Add a dummy unit test --- src/main.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main.rs b/src/main.rs index 1f88f5d..38a0a4e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -70,3 +70,11 @@ fn main() -> Result<(), RclrsError> { info!("Spinning ROS"); rclrs::spin(node_copy) } + +#[cfg(test)] +mod tests { + #[test] + fn test_dummy() { + assert_eq!(1,1); + } +}