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

Function test_bool_array_and

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

Source from the content-addressed store, hash-verified

362
363 #[test]
364 fn test_bool_array_and() {
365 let a = BooleanArray::from(vec![false, false, true, true]);
366 let b = BooleanArray::from(vec![false, true, false, true]);
367 let c = and(&a, &b).unwrap();
368
369 let expected = BooleanArray::from(vec![false, false, false, true]);
370
371 assert_eq!(c, expected);
372 }
373
374 #[test]
375 fn test_bool_array_or() {

Callers

nothing calls this directly

Calls 1

andFunction · 0.85

Tested by

no test coverage detected