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

Function test_bool_array_or

arrow-arith/src/boolean.rs:375–383  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

373
374 #[test]
375 fn test_bool_array_or() {
376 let a = BooleanArray::from(vec![false, false, true, true]);
377 let b = BooleanArray::from(vec![false, true, false, true]);
378 let c = or(&a, &b).unwrap();
379
380 let expected = BooleanArray::from(vec![false, true, true, true]);
381
382 assert_eq!(c, expected);
383 }
384
385 #[test]
386 fn test_bool_array_and_not() {

Callers

nothing calls this directly

Calls 1

orFunction · 0.85

Tested by

no test coverage detected