()
| 352 | |
| 353 | #[test] |
| 354 | fn length_null_string() { |
| 355 | length_null_cases_string() |
| 356 | .into_iter() |
| 357 | .for_each(|(input, len, expected)| { |
| 358 | let array = StringArray::from(input); |
| 359 | let result = length(&array).unwrap(); |
| 360 | assert_eq!(len, result.len()); |
| 361 | let result = result.as_any().downcast_ref::<Int32Array>().unwrap(); |
| 362 | |
| 363 | let expected: Int32Array = expected.into(); |
| 364 | assert_eq!(&expected, result); |
| 365 | }) |
| 366 | } |
| 367 | |
| 368 | #[test] |
| 369 | fn length_null_large_string() { |
nothing calls this directly
no test coverage detected