remove test that no longer compiles

This commit is contained in:
Martin Dahl 2021-05-10 14:21:11 +02:00
parent c84bb67914
commit 76c766c1cc
1 changed files with 0 additions and 13 deletions

View File

@ -80,19 +80,6 @@ pub fn get_ros_msgs(paths: &[&Path]) -> Vec<String> {
msgs
}
#[test]
fn test_msg_list() {
let msgs = get_all_ros_msgs();
for m in &msgs {
println!("{}", m);
}
assert!(msgs.contains(&"std_msgs/msg/String".to_string()));
assert!(msgs.contains(&"builtin_interfaces/msg/Time".to_string()));
}
pub fn parse_msgs(msgs: &Vec<String>) -> Vec<RosMsg> {
let v: Vec<Vec<&str>> = msgs.iter().map(|l| l.split("/").into_iter().take(3).collect()).collect();
let v: Vec<_> = v.iter().filter(|v|v.len() == 3).