cargo fmt ftw

This commit is contained in:
EliasCubz 2020-11-07 20:45:02 +01:00
parent 3d16f99347
commit ce7f802a8c
1 changed files with 2 additions and 2 deletions

View File

@ -319,8 +319,8 @@ mod tests {
h.insert(robot::Position { x: 2, y: 3 }, 1);
assert!(check_collisions(&r, &h).is_ok());
}
fn test_parse() {
#[test]
fn test_parse() {
let conf: String = String::from("5 5\n\n1 1 N\nFLLFRF\n\n3 2 S\nFFLFRRF\n");
let mut robot_pool: Vec<robot::Robot> = Vec::new();
assert!(parse_config(conf, &mut robot_pool).is_ok());