()
| 563 | |
| 564 | #[test] |
| 565 | fn test_binary_view_concat() { |
| 566 | let left = BinaryViewArray::from_iter(vec![Some(b"foo" as &[u8]), Some(b"bar"), None]); |
| 567 | let right = BinaryViewArray::from_iter(vec![None, Some(b"yyy" as &[u8]), Some(b"zzz")]); |
| 568 | |
| 569 | let output = concat_elements_binary_view_array(&left, &right).unwrap(); |
| 570 | |
| 571 | let expected = BinaryViewArray::from_iter(vec![None, Some(b"baryyy" as &[u8]), None]); |
| 572 | assert_eq!(output, expected); |
| 573 | } |
| 574 | |
| 575 | #[test] |
| 576 | fn test_string_view_concat() { |
nothing calls this directly
no test coverage detected