MCPcopy Create free account
hub / github.com/apache/arrow-rs / test_binary_view_concat_empty

Function test_binary_view_concat_empty

arrow-string/src/concat_elements.rs:625–632  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

623
624 #[test]
625 fn test_binary_view_concat_empty() {
626 let left = BinaryViewArray::from_iter(vec![] as Vec<Option<&[u8]>>);
627 let right = BinaryViewArray::from_iter(vec![] as Vec<Option<&[u8]>>);
628
629 let output = concat_elements_binary_view_array(&left, &right).unwrap();
630 let expected = BinaryViewArray::from_iter(vec![] as Vec<Option<&[u8]>>);
631 assert_eq!(output, expected);
632 }
633
634 #[test]
635 fn test_concat_dyn_same_type() {

Callers

nothing calls this directly

Calls 2

from_iterFunction · 0.50

Tested by

no test coverage detected