()
| 574 | |
| 575 | #[test] |
| 576 | fn test_string_view_concat() { |
| 577 | let left = StringViewArray::from_iter(vec![Some("foo"), Some("bar"), None]); |
| 578 | let right = StringViewArray::from_iter(vec![None, Some("yyy"), Some("zzz")]); |
| 579 | |
| 580 | let output = concat_elements_string_view_array(&left, &right).unwrap(); |
| 581 | |
| 582 | let expected = StringViewArray::from_iter(vec![None, Some("baryyy"), None]); |
| 583 | assert_eq!(output, expected); |
| 584 | } |
| 585 | |
| 586 | #[test] |
| 587 | fn test_binary_view_concat_no_null() { |
nothing calls this directly
no test coverage detected