()
| 1868 | |
| 1869 | #[test] |
| 1870 | fn test_writer_binary() { |
| 1871 | let values: [Option<&[u8]>; 3] = [ |
| 1872 | Some(b"Ned Flanders" as &[u8]), |
| 1873 | None, |
| 1874 | Some(b"Troy McClure" as &[u8]), |
| 1875 | ]; |
| 1876 | // Binary: |
| 1877 | { |
| 1878 | let batch = build_array_binary::<i32>(&values); |
| 1879 | assert_binary_json(&batch); |
| 1880 | } |
| 1881 | // LargeBinary: |
| 1882 | { |
| 1883 | let batch = build_array_binary::<i64>(&values); |
| 1884 | assert_binary_json(&batch); |
| 1885 | } |
| 1886 | { |
| 1887 | let batch = build_array_binary_view(&values); |
| 1888 | assert_binary_json(&batch); |
| 1889 | } |
| 1890 | } |
| 1891 | |
| 1892 | #[test] |
| 1893 | fn test_writer_fixed_size_binary() { |
nothing calls this directly
no test coverage detected