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

Function test_bitwise_unary_mut_unshared

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

Source from the content-addressed store, hash-verified

1316
1317 #[test]
1318 fn test_bitwise_unary_mut_unshared() {
1319 let arr = BooleanArray::from(vec![true, false, true, false]);
1320 let info = PointerInfo::new(&arr);
1321 let result = arr.bitwise_unary_mut(|x| !x).unwrap();
1322 let expected = BooleanArray::from(vec![false, true, false, true]);
1323 assert_eq!(result, expected);
1324 info.assert_same(&result);
1325 }
1326
1327 #[test]
1328 fn test_bitwise_unary_mut_shared() {

Callers

nothing calls this directly

Calls 2

bitwise_unary_mutMethod · 0.80
assert_sameMethod · 0.80

Tested by

no test coverage detected