()
| 852 | |
| 853 | #[test] |
| 854 | fn test_nullable_array_is_not_null() { |
| 855 | let a = Int32Array::from(vec![Some(1), None, Some(3), None]); |
| 856 | |
| 857 | let res = is_not_null(&a).unwrap(); |
| 858 | |
| 859 | let expected = BooleanArray::from(vec![true, false, true, false]); |
| 860 | |
| 861 | assert_eq!(expected, res); |
| 862 | assert!(res.nulls().is_none()); |
| 863 | } |
| 864 | |
| 865 | #[test] |
| 866 | fn test_nullable_array_with_offset_is_not_null() { |
nothing calls this directly
no test coverage detected