()
| 170 | } |
| 171 | |
| 172 | fn view_2d() -> ArrayCatalogView { |
| 173 | ArrayCatalogView { |
| 174 | name: "g".into(), |
| 175 | dims: vec![ |
| 176 | ArrayDimAst { |
| 177 | name: "chrom".into(), |
| 178 | dtype: ArrayDimType::Int64, |
| 179 | lo: crate::types_array::ArrayDomainBound::Int64(1), |
| 180 | hi: crate::types_array::ArrayDomainBound::Int64(23), |
| 181 | }, |
| 182 | ArrayDimAst { |
| 183 | name: "pos".into(), |
| 184 | dtype: ArrayDimType::Int64, |
| 185 | lo: crate::types_array::ArrayDomainBound::Int64(0), |
| 186 | hi: crate::types_array::ArrayDomainBound::Int64(10_000_000), |
| 187 | }, |
| 188 | ], |
| 189 | attrs: vec![ArrayAttrAst { |
| 190 | name: "v".into(), |
| 191 | dtype: ArrayAttrType::Float64, |
| 192 | nullable: true, |
| 193 | }], |
| 194 | tile_extents: vec![1, 1_000_000], |
| 195 | } |
| 196 | } |
| 197 | |
| 198 | #[test] |
| 199 | fn insert_unknown_array() { |
no outgoing calls