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

Function test_null_boolean

arrow-array/src/array/mod.rs:1117–1124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1115
1116 #[test]
1117 fn test_null_boolean() {
1118 let array = new_null_array(&DataType::Boolean, 9);
1119 let a = array.as_any().downcast_ref::<BooleanArray>().unwrap();
1120 assert_eq!(a.len(), 9);
1121 for i in 0..9 {
1122 assert!(a.is_null(i));
1123 }
1124 }
1125
1126 #[test]
1127 fn test_null_primitive() {

Callers

nothing calls this directly

Calls 2

new_null_arrayFunction · 0.85
as_anyMethod · 0.45

Tested by

no test coverage detected