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

Function test_null_array_is_null

arrow-arith/src/boolean.rs:897–906  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

895
896 #[test]
897 fn test_null_array_is_null() {
898 let a = NullArray::new(3);
899
900 let res = is_null(&a).unwrap();
901
902 let expected = BooleanArray::from(vec![true, true, true]);
903
904 assert_eq!(expected, res);
905 assert!(res.nulls().is_none());
906 }
907
908 #[test]
909 fn test_null_array_is_not_null() {

Callers

nothing calls this directly

Calls 1

is_nullFunction · 0.85

Tested by

no test coverage detected