()
| 1256 | |
| 1257 | #[test] |
| 1258 | fn test_append_binary() { |
| 1259 | // test builder append |
| 1260 | let array = { |
| 1261 | let mut builder = BinaryViewBuilder::new(); |
| 1262 | builder.append_value(b"hello"); |
| 1263 | builder.append_null(); |
| 1264 | builder.append_option(Some(b"large payload over 12 bytes")); |
| 1265 | builder.finish() |
| 1266 | }; |
| 1267 | assert_eq!(array.value(0), b"hello"); |
| 1268 | assert!(array.is_null(1)); |
| 1269 | assert_eq!(array.value(2), b"large payload over 12 bytes"); |
| 1270 | } |
| 1271 | |
| 1272 | #[test] |
| 1273 | fn test_in_progress_recreation() { |
nothing calls this directly
no test coverage detected