()
| 936 | |
| 937 | #[test] |
| 938 | fn allow_2d_arrays() { |
| 939 | let _context = crate::quick_init().unwrap(); |
| 940 | |
| 941 | let obj = ArrayObject::new([10, 20, 0], ArrayFormat::F64, 1).unwrap(); |
| 942 | |
| 943 | let descriptor = obj.descriptor().unwrap(); |
| 944 | assert_eq!([10, 20, 0], descriptor.dims()); |
| 945 | } |
| 946 | |
| 947 | #[test] |
| 948 | fn allow_1d_layered_arrays() { |
nothing calls this directly
no test coverage detected