1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#[test] fn test_create_map() { let _m = indexmap::indexmap! { 1 => 2, 7 => 1, 2 => 2, 3 => 3, }; } #[test] fn test_create_set() { let _s = indexmap::indexset! { 1, 7, 2, 3, }; }