Debian Codegraph @

tests/integration/bytes.rs

raw symbols SCIP
1 use craterust-analyzer cargo schemars 1.2.2 crate/::preluderust-analyzer cargo schemars 1.2.2 prelude/::*;
2 use bytes1rust-analyzer cargo bytes 1.12.1 crate/::{Bytesrust-analyzer cargo bytes 1.12.1 bytes/Bytes#, BytesMutrust-analyzer cargo bytes 1.12.1 bytes_mut/BytesMut#};
3
4 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
5 fn bytesrust-analyzer cargo schemars 1.2.2 bytes/bytes().() {
6 testrust-analyzer cargo schemars 1.2.2 test!!(Bytesrust-analyzer cargo bytes 1.12.1 bytes/Bytes#)
7 .assert_snapshotrust-analyzer cargo schemars 1.2.2 test_helper/impl#[`TestHelper<T>`]assert_snapshot().()
8 .assert_allows_ser_roundtriprust-analyzer cargo schemars 1.2.2 test_helper/impl#[`TestHelper<T>`]assert_allows_ser_roundtrip().([Bytesrust-analyzer cargo bytes 1.12.1 bytes/Bytes#::newrust-analyzer cargo bytes 1.12.1 bytes/impl#[Bytes]new().(), Bytesrust-analyzer cargo bytes 1.12.1 bytes/Bytes#::from_iterrust-analyzer cargo bytes 1.12.1 bytes/impl#[Bytes][`FromIterator<u8>`]from_iter().([12; 34])])
9 .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().());
10 }
11
12 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
13 fn bytes_mutrust-analyzer cargo schemars 1.2.2 bytes/bytes_mut().() {
14 testrust-analyzer cargo schemars 1.2.2 test!!(BytesMutrust-analyzer cargo bytes 1.12.1 bytes_mut/BytesMut#).assert_identicalrust-analyzer cargo schemars 1.2.2 test_helper/impl#[`TestHelper<T>`]assert_identical().::<Bytesrust-analyzer cargo bytes 1.12.1 bytes/Bytes#>();
15 }