()
| 365 | |
| 366 | #[test] |
| 367 | fn value_size() { |
| 368 | let values: &[u8] = &[ |
| 369 | 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, |
| 370 | 0x38, 0x39, 0x3a, 0x3c, 0x3d, 0x3e, 0xff, |
| 371 | ]; |
| 372 | let kind = ValueKind::from_sequence(values.iter().map(|&x| x as i64)); |
| 373 | assert_eq!(kind.min_max().required_bytes(), 1); |
| 374 | } |
nothing calls this directly
no outgoing calls
no test coverage detected