Debian Codegraph @

tests/integration/smallvec.rs

raw symbols ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 use crate::prelude::*;
2 use smallvec1::{smallvec, SmallVec};
3
4 #[test]
5 fn smallvec() {
6 test!(SmallVec<[usize; 2]>)
7 .assert_identical::<Vec<usize>>()
8 .assert_allows_ser_roundtrip([smallvec![], smallvec![1, 2, 3, 4, 5]])
9 .assert_matches_de_roundtrip(arbitrary_values());
10 }