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

Function test_string_run_arry_to_string

arrow-cast/src/display.rs:1570–1584  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1568
1569 #[test]
1570 fn test_string_run_arry_to_string() {
1571 let mut builder = StringRunBuilder::<Int32Type>::new();
1572
1573 builder.append_value("input_value");
1574 builder.append_value("input_value");
1575 builder.append_value("input_value");
1576 builder.append_value("input_value1");
1577
1578 let map_array = builder.finish();
1579 assert_eq!("input_value", array_value_to_string(&map_array, 1).unwrap());
1580 assert_eq!(
1581 "input_value1",
1582 array_value_to_string(&map_array, 3).unwrap()
1583 );
1584 }
1585
1586 #[test]
1587 fn test_list_view_to_string() {

Callers

nothing calls this directly

Calls 2

append_valueMethod · 0.45
finishMethod · 0.45

Tested by

no test coverage detected