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

Function test_bitwise_bin_op_and

arrow-array/src/array/boolean_array.rs:1372–1377  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1370
1371 #[test]
1372 fn test_bitwise_bin_op_and() {
1373 let a = BooleanArray::from(vec![true, false, true, true]);
1374 let b = BooleanArray::from(vec![true, true, false, true]);
1375 let result = a.bitwise_bin_op(&b, |a, b| a & b);
1376 assert_eq!(result, BooleanArray::from(vec![true, false, false, true]));
1377 }
1378
1379 #[test]
1380 fn test_bitwise_bin_op_or() {

Callers

nothing calls this directly

Calls 1

bitwise_bin_opMethod · 0.80

Tested by

no test coverage detected