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

Function test_string_offset

arrow/tests/array_equal.rs:361–367  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

359
360#[test]
361fn test_string_offset() {
362 let a = StringArray::from(vec![Some("a"), None, Some("b")]);
363 let a = a.slice(2, 1);
364 let b = StringArray::from(vec![Some("b")]);
365
366 test_equal(&a, &b, true);
367}
368
369#[test]
370fn test_string_offset_larger() {

Callers

nothing calls this directly

Calls 2

test_equalFunction · 0.85
sliceMethod · 0.45

Tested by

no test coverage detected