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

Function test_boolean_equal_nulls

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

Source from the content-addressed store, hash-verified

67
68#[test]
69fn test_boolean_equal_nulls() {
70 let a = BooleanArray::from(vec![Some(false), None, None, Some(true)]);
71 let b = BooleanArray::from(vec![Some(false), None, None, Some(true)]);
72 test_equal(&a, &b, true);
73
74 let b = BooleanArray::from(vec![None, None, None, Some(true)]);
75 test_equal(&a, &b, false);
76
77 let b = BooleanArray::from(vec![Some(true), None, None, Some(true)]);
78 test_equal(&a, &b, false);
79}
80
81#[test]
82fn test_boolean_equal_offset() {

Callers

nothing calls this directly

Calls 1

test_equalFunction · 0.85

Tested by

no test coverage detected