()
| 1125 | |
| 1126 | #[test] |
| 1127 | fn test_null_primitive() { |
| 1128 | let array = new_null_array(&DataType::Int32, 9); |
| 1129 | let a = array.as_any().downcast_ref::<Int32Array>().unwrap(); |
| 1130 | assert_eq!(a.len(), 9); |
| 1131 | for i in 0..9 { |
| 1132 | assert!(a.is_null(i)); |
| 1133 | } |
| 1134 | } |
| 1135 | |
| 1136 | #[test] |
| 1137 | fn test_null_struct() { |
nothing calls this directly
no test coverage detected