Debian Codegraph @

tests/std_types.rs

raw symbols SCIP
1 #[cfg(feature = "std")]
2 mod std_testsrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/ {
3
4 use serderust-analyzer cargo serde 1.0.144 crate/::{Deserializerust-analyzer cargo serde 1.0.144 de/Deserialize#, Serializerust-analyzer cargo serde 1.0.144 ser/Serialize#};
5 use serde_cbor_2rust-analyzer cargo serde_cbor_2 0.13.0 crate/::derust-analyzer cargo serde_cbor_2 0.13.0 de/::from_mut_slicerust-analyzer cargo serde_cbor_2 0.13.0 de/from_mut_slice().;
6 use serde_cbor_2rust-analyzer cargo serde_cbor_2 0.13.0 crate/::serrust-analyzer cargo serde_cbor_2 0.13.0 ser/::{to_vecrust-analyzer cargo serde_cbor_2 0.13.0 ser/to_vec()., to_vec_packedrust-analyzer cargo serde_cbor_2 0.13.0 ser/to_vec_packed().};
7 use serde_cbor_2rust-analyzer cargo serde_cbor_2 0.13.0 crate/::{from_readerrust-analyzer cargo serde_cbor_2 0.13.0 de/from_reader()., from_slicerust-analyzer cargo serde_cbor_2 0.13.0 de/from_slice().};
8
9 fn to_binaryrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/to_binary().(s: &'static str) -> Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#<u8> {
10 assertrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/assert!!(s.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/impl#[str]len().() %rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Rem<Self>`]rem(). 2 == 0);
11 let mut b = Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#::with_capacityrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/impl#[`Vec<T>`]with_capacity().(s.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/impl#[str]len().() rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Div<Self>`]div()./rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Div<Self>`]div(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Div<Self>`]div().2);
12 for i in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#s.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/impl#[str]len().() rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Div<Self>`]div()./rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Div<Self>`]div(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Div<Self>`]div().2 {
13 b.pushrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/impl#[`Vec<T, A>`]push().(u8::from_str_radixrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u8]from_str_radix().(&s[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul().*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul().2..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#(i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().1) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul().*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul().2]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()., 16).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().());
14 }
15 b
16 }
17
18 macro_rules! testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase! {
19 ($name:ident, f64, $expr:expr, $s:expr) => {
20 #[test]
21 fn $name() {
22 let expr: f64 = $expr;
23 let mut serialized = to_binary($s);
24 assert_eq!(to_vec(&expr).unwrap(), serialized);
25 let parsed: f64 = from_slice(&serialized[..]).unwrap();
26 if !expr.is_nan() {
27 assert_eq!(expr, parsed);
28 } else {
29 assert!(parsed.is_nan())
30 }
31
32 let parsed: f64 = from_reader(&mut &serialized[..]).unwrap();
33 if !expr.is_nan() {
34 assert_eq!(expr, parsed);
35 } else {
36 assert!(parsed.is_nan())
37 }
38
39 let parsed: f64 = from_mut_slice(&mut serialized[..]).unwrap();
40 if !expr.is_nan() {
41 assert_eq!(expr, parsed);
42 } else {
43 assert!(parsed.is_nan())
44 }
45 }
46 };
47 ($name:ident, $ty:ty, $expr:expr, $s:expr) => {
48 #[test]
49 fn $name() {
50 let expr: $ty = $expr;
51 let mut serialized = to_binary($s);
52 assert_eq!(
53 to_vec(&expr).expect("ser1 works"),
54 serialized,
55 "serialization differs"
56 );
57 let parsed: $ty = from_slice(&serialized[..]).expect("de1 works");
58 assert_eq!(parsed, expr, "parsed result differs");
59 let packed = &to_vec_packed(&expr).expect("serializing packed")[..];
60 let parsed_from_packed: $ty = from_slice(packed).expect("parsing packed");
61 assert_eq!(parsed_from_packed, expr, "packed roundtrip fail");
62
63 let parsed: $ty = from_reader(&mut &serialized[..]).unwrap();
64 assert_eq!(parsed, expr, "parsed result differs");
65 let mut packed = to_vec_packed(&expr).expect("serializing packed");
66 let parsed_from_packed: $ty =
67 from_reader(&mut &packed[..]).expect("parsing packed");
68 assert_eq!(parsed_from_packed, expr, "packed roundtrip fail");
69
70 let parsed: $ty = from_mut_slice(&mut serialized[..]).unwrap();
71 assert_eq!(parsed, expr, "parsed result differs");
72 let parsed_from_packed: $ty =
73 from_mut_slice(&mut packed[..]).expect("parsing packed");
74 assert_eq!(parsed_from_packed, expr, "packed roundtrip fail");
75 }
76 };
77 }
78
79 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(test_bool_falserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_bool_false()., bool, false, "f4");
80 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(test_bool_truerust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_bool_true()., bool, true, "f5");
81 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(test_isize_neg_256rust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_isize_neg_256()., isize, -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[isize][Neg]neg().256, "38ff");
82 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(test_isize_neg_257rust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_isize_neg_257()., isize, -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[isize][Neg]neg().257, "390100");
83 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(test_isize_255rust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_isize_255()., isize, 255, "18ff");
84 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(test_i8_5rust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_i8_5()., i8, 5, "05");
85 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(test_i8_23rust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_i8_23()., i8, 23, "17");
86 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(test_i8_24rust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_i8_24()., i8, 24, "1818");
87 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(test_i8_neg_128rust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_i8_neg_128()., i8, -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i8][Neg]neg().128, "387f");
88 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(test_u32_98745874rust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_u32_98745874()., u32, 98745874, "1a05e2be12");
89 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(test_f32_1234_point_5rust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_f32_1234_point_5()., f32, 1234.5, "fa449a5000");
90 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(test_f64_12345_point_6rust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_f64_12345_point_6()., f64, 12345.6, "fb40c81ccccccccccd");
91 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(test_f64_nanrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_f64_nan()., f64, f64::NANrust-analyzer cargo core https://github.com/rust-lang/rust/library/core f64/impl#[f64]NAN., "f97e00");
92 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(test_f64_infinityrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_f64_infinity()., f64, f64::INFINITYrust-analyzer cargo core https://github.com/rust-lang/rust/library/core f64/impl#[f64]INFINITY., "f97c00");
93 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(test_f64_neg_infinityrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_f64_neg_infinity()., f64, -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[f64][Neg]neg().f64::INFINITYrust-analyzer cargo core https://github.com/rust-lang/rust/library/core f64/impl#[f64]INFINITY., "f9fc00");
94 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(test_char_nullrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_char_null()., char, '\x00', "6100");
95 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(test_char_broken_heartrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_char_broken_heart()., char, '💔', "64f09f9294");
96 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(
97 test_str_pangram_derust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_str_pangram_de().,
98 Stringrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc string/String#,
99 "aâø↓é".to_ownedrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc str/impl#[str][ToOwned]to_owned().(),
100 "6a61c3a2c3b8e28693c3a9"
101 );
102 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(test_unitrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_unit()., (), (), "f6");
103
104 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Deserializerust-analyzer cargo serde_derive 1.0.144 Deserialize:, Serializerust-analyzer cargo serde_derive 1.0.144 Serialize:)]
105 struct UnitStructrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/UnitStruct#;
106 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(test_unit_structrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_unit_struct()., UnitStructrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/UnitStruct#, UnitStructrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/UnitStruct#, "f6");
107
108 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Deserializerust-analyzer cargo serde_derive 1.0.144 Deserialize:, Serializerust-analyzer cargo serde_derive 1.0.144 Serialize:)]
109 struct NewtypeStructrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/NewtypeStruct#(bool);
110 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(
111 test_newtype_structrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_newtype_struct().,
112 NewtypeStructrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/NewtypeStruct#,
113 NewtypeStructrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/NewtypeStruct#(true),
114 "f5"
115 );
116
117 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(test_option_nonerust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_option_none()., Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<u8>, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#, "f6");
118 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(test_option_somerust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_option_some()., Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<u8>, Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(42), "182a");
119
120 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Deserializerust-analyzer cargo serde_derive 1.0.144 Deserialize:, Serializerust-analyzer cargo serde_derive 1.0.144 Serialize:)]
121 struct Personrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/Person# {
122 namerust-analyzer cargo serde_cbor_2 0.13.0 std_tests/Person#name.: Stringrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc string/String#,
123 year_of_birthrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/Person#year_of_birth.: u16,
124 professionrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/Person#profession.: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<Stringrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc string/String#>,
125 }
126
127 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(test_person_structrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_person_struct().,
128 Personrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/Person#,
129 Personrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/Person# {
130 namerust-analyzer cargo serde_cbor_2 0.13.0 std_tests/Person#name.: "Grace Hopper".to_stringrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc string/impl#[T][ToString]to_string().(),
131 year_of_birthrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/Person#year_of_birth.: 1906,
132 professionrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/Person#profession.: Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#("computer scientist".to_stringrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc string/impl#[T][ToString]to_string().()),
133 },
134 "a3646e616d656c477261636520486f707065726d796561725f6f665f62697274681907726a70726f66657373696f6e72636f6d707574657220736369656e74697374");
135
136 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Deserializerust-analyzer cargo serde_derive 1.0.144 Deserialize:, Serializerust-analyzer cargo serde_derive 1.0.144 Serialize:)]
137 struct OptionalPersonrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/OptionalPerson# {
138 namerust-analyzer cargo serde_cbor_2 0.13.0 std_tests/OptionalPerson#name.: Stringrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc string/String#,
139 #[serderust-analyzer cargo serde_derive 1.0.144 serde:(skip_serializing_if = "Option::is_none")]
140 year_of_birthrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/OptionalPerson#year_of_birth.: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<u16>,
141 professionrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/OptionalPerson#profession.: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<Stringrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc string/String#>,
142 }
143
144 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(test_optional_person_structrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_optional_person_struct().,
145 OptionalPersonrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/OptionalPerson#,
146 OptionalPersonrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/OptionalPerson# {
147 namerust-analyzer cargo serde_cbor_2 0.13.0 std_tests/OptionalPerson#name.: "Grace Hopper".to_stringrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc string/impl#[T][ToString]to_string().(),
148 year_of_birthrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/OptionalPerson#year_of_birth.: Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#,
149 professionrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/OptionalPerson#profession.: Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#("computer scientist".to_stringrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc string/impl#[T][ToString]to_string().()),
150 },
151 "a2646e616d656c477261636520486f707065726a70726f66657373696f6e72636f6d707574657220736369656e74697374");
152
153 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Deserializerust-analyzer cargo serde_derive 1.0.144 Deserialize:, Serializerust-analyzer cargo serde_derive 1.0.144 Serialize:)]
154 enum Colorrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/Color# {
155 Redrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/Color#Red#,
156 Bluerust-analyzer cargo serde_cbor_2 0.13.0 std_tests/Color#Blue#,
157 Yellowrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/Color#Yellow#,
158 Otherrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/Color#Other#(u64),
159 Alpharust-analyzer cargo serde_cbor_2 0.13.0 std_tests/Color#Alpha#(u64, u8),
160 }
161
162 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(test_color_enumrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_color_enum()., Colorrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/Color#, Colorrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/Color#::Bluerust-analyzer cargo serde_cbor_2 0.13.0 std_tests/Color#Blue#, "64426c7565");
163 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(
164 test_color_enum_transparentrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_color_enum_transparent().,
165 Colorrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/Color#,
166 Colorrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/Color#::Otherrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/Color#Other#(42),
167 "a1654f74686572182a"
168 );
169 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(
170 test_color_enum_with_alpharust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_color_enum_with_alpha().,
171 Colorrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/Color#,
172 Colorrust-analyzer cargo serde_cbor_2 0.13.0 std_tests/Color#::Alpharust-analyzer cargo serde_cbor_2 0.13.0 std_tests/Color#Alpha#(234567, 60),
173 "a165416c706861821a00039447183c"
174 );
175 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(test_i128_arust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_i128_a()., i128, -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i128][Neg]neg().1i128, "20");
176 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(
177 test_i128_brust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_i128_b().,
178 i128,
179 -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i128][Neg]neg().18446744073709551616i128,
180 "3BFFFFFFFFFFFFFFFF"
181 );
182 testcaserust-analyzer cargo serde_cbor_2 0.13.0 std_tests/testcase!!(test_u128rust-analyzer cargo serde_cbor_2 0.13.0 std_tests/test_u128()., u128, 17, "11");
183 }