()
| 1098 | |
| 1099 | #[test] |
| 1100 | fn test_empty_variable_sized() { |
| 1101 | let array = new_empty_array(&DataType::Utf8); |
| 1102 | let a = array.as_any().downcast_ref::<StringArray>().unwrap(); |
| 1103 | assert_eq!(a.len(), 0); |
| 1104 | assert_eq!(a.value_offsets()[0], 0i32); |
| 1105 | } |
| 1106 | |
| 1107 | #[test] |
| 1108 | fn test_empty_list_primitive() { |
nothing calls this directly
no test coverage detected