Skip to content

Commit

Permalink
test: Add a dummy unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp-caspers committed Sep 24, 2024
1 parent 7812344 commit 4a5ec32
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 4a5ec32

Please sign in to comment.