summaryrefslogtreecommitdiffstats
path: root/vendor/indexmap/tests/macros_full_path.rs
blob: 2467d9b4f5d4d04f576f0e0bfcd476cdeb69e60c (plain)
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,
    };
}