()
| 186 | |
| 187 | #[test] |
| 188 | fn encode_protocol() { |
| 189 | assert_encode( |
| 190 | &crate::protocol::Protocol { |
| 191 | version: ProtocolVersion::V1, |
| 192 | }, |
| 193 | expect![[r#" |
| 194 | b'h' b'a' b'r' b'p' b'c' 0x01 |
| 195 | "#]], |
| 196 | ); |
| 197 | } |
| 198 | |
| 199 | #[test] |
| 200 | fn decode_protocol() { |
nothing calls this directly
no test coverage detected