()
| 231 | |
| 232 | #[test] |
| 233 | fn surrogates_roundtrip() { |
| 234 | let vals = vec![ |
| 235 | Surrogate::new(0), |
| 236 | Surrogate::new(1), |
| 237 | Surrogate::new(1000), |
| 238 | Surrogate::new(9999), |
| 239 | ]; |
| 240 | let data = encode_surrogates(&vals); |
| 241 | let out = decode_surrogates(&data).unwrap(); |
| 242 | assert_eq!(out, vals); |
| 243 | } |
| 244 | |
| 245 | #[test] |
| 246 | fn row_kinds_roundtrip() { |
nothing calls this directly
no test coverage detected