Debian Codegraph @

.cargo/vendor/indexmap/tests/macros_full_path.rs

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