Browse Source

Add test

tags/v0.2.5-alpha.2
Yuma Hiramatsu 4 years ago
parent
commit
0e52c2c5f1
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      rclrust/src/init_options.rs

+ 12
- 0
rclrust/src/init_options.rs View File

@@ -95,3 +95,15 @@ impl InitOptions {
// }
// }
}

#[cfg(test)]
mod test {
use super::*;

#[test]
fn init_options_new() -> Result<()> {
let _init_options = InitOptions::new()?;

Ok(())
}
}

Loading…
Cancel
Save