()
| 97 | |
| 98 | #[test] |
| 99 | fn test_view_buffer_empty() { |
| 100 | let buffer = ViewBuffer::with_capacity(0); |
| 101 | let array = buffer.into_array(None, &ArrowType::Utf8View); |
| 102 | let strings = array |
| 103 | .as_any() |
| 104 | .downcast_ref::<arrow::array::StringViewArray>() |
| 105 | .unwrap(); |
| 106 | assert_eq!(strings.len(), 0); |
| 107 | } |
| 108 | |
| 109 | #[test] |
| 110 | fn test_view_buffer_append_view() { |
nothing calls this directly
no test coverage detected