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

Function test_string_offset_larger

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

Source from the content-addressed store, hash-verified

368
369#[test]
370fn test_string_offset_larger() {
371 let a = StringArray::from(vec![Some("a"), None, Some("b"), None, Some("c")]);
372 let b = StringArray::from(vec![None, Some("b"), None, Some("c")]);
373
374 test_equal(&a.slice(2, 2), &b.slice(0, 2), false);
375 test_equal(&a.slice(2, 2), &b.slice(1, 2), true);
376 test_equal(&a.slice(2, 2), &b.slice(2, 2), false);
377}
378
379#[test]
380fn test_null() {

Callers

nothing calls this directly

Calls 2

test_equalFunction · 0.85
sliceMethod · 0.45

Tested by

no test coverage detected