| 1 | use craterust-analyzer cargo schemars 1.2.2 crate/::preluderust-analyzer cargo schemars 1.2.2 prelude/::*; |
| 2 | use indexmap2rust-analyzer cargo indexmap 2.14.0 crate/::{indexmaprust-analyzer cargo indexmap 2.14.0 macros/indexmap!, indexsetrust-analyzer cargo indexmap 2.14.0 macros/indexset!, IndexMaprust-analyzer cargo indexmap 2.14.0 map/IndexMap#, IndexSetrust-analyzer cargo indexmap 2.14.0 set/IndexSet#}; |
| 3 | use stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::collectionsrust-analyzer cargo std https://github.com/rust-lang/rust/library/std collections/::{BTreeMaprust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc collections/btree/map/BTreeMap#, BTreeSetrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc collections/btree/set/BTreeSet#}; |
| 4 | |
| 5 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 6 | fn indexmaprust-analyzer cargo schemars 1.2.2 indexmap/indexmap().() { |
| 7 | testrust-analyzer cargo schemars 1.2.2 test!!(IndexMaprust-analyzer cargo indexmap 2.14.0 map/IndexMap#<Stringrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc string/String#, bool>) |
| 8 | .assert_identicalrust-analyzer cargo schemars 1.2.2 test_helper/impl#[`TestHelper<T>`]assert_identical().::<BTreeMaprust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc collections/btree/map/BTreeMap#<Stringrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc string/String#, bool>>() |
| 9 | .assert_allows_ser_roundtriprust-analyzer cargo schemars 1.2.2 test_helper/impl#[`TestHelper<T>`]assert_allows_ser_roundtrip().([indexmaprust-analyzer cargo indexmap 2.14.0 macros/indexmap!!(), indexmaprust-analyzer cargo indexmap 2.14.0 macros/indexmap!!("key".to_ownedrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc str/impl#[str][ToOwned]to_owned().() => true)]) |
| 10 | .assert_matches_de_roundtriprust-analyzer cargo schemars 1.2.2 test_helper/impl#[`TestHelper<T>`]assert_matches_de_roundtrip().(arbitrary_valuesrust-analyzer cargo schemars 1.2.2 test_helper/arbitrary_values().()); |
| 11 | } |
| 12 | |
| 13 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 14 | fn indexsetrust-analyzer cargo schemars 1.2.2 indexmap/indexset().() { |
| 15 | testrust-analyzer cargo schemars 1.2.2 test!!(IndexSetrust-analyzer cargo indexmap 2.14.0 set/IndexSet#<Stringrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc string/String#>) |
| 16 | .assert_identicalrust-analyzer cargo schemars 1.2.2 test_helper/impl#[`TestHelper<T>`]assert_identical().::<BTreeSetrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc collections/btree/set/BTreeSet#<Stringrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc string/String#>>() |
| 17 | .assert_allows_ser_roundtriprust-analyzer cargo schemars 1.2.2 test_helper/impl#[`TestHelper<T>`]assert_allows_ser_roundtrip().([indexsetrust-analyzer cargo indexmap 2.14.0 macros/indexset!!(), indexsetrust-analyzer cargo indexmap 2.14.0 macros/indexset!!("test".to_ownedrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc str/impl#[str][ToOwned]to_owned().())]) |
| 18 | .assert_matches_de_roundtriprust-analyzer cargo schemars 1.2.2 test_helper/impl#[`TestHelper<T>`]assert_matches_de_roundtrip().(arbitrary_valuesrust-analyzer cargo schemars 1.2.2 test_helper/arbitrary_values().()); |
| 19 | } |