MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / build_rejects_extent_arity_mismatch

Function build_rejects_extent_arity_mismatch

nodedb-array/src/schema/builder.rs:127–134  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125
126 #[test]
127 fn build_rejects_extent_arity_mismatch() {
128 let r = ArraySchemaBuilder::new("g")
129 .dim(int64_dim("d", 10))
130 .attr(AttrSpec::new("v", AttrType::Int64, false))
131 .tile_extents(vec![1, 2])
132 .build();
133 assert!(r.is_err());
134 }
135}

Callers

nothing calls this directly

Calls 5

int64_dimFunction · 0.85
buildMethod · 0.45
tile_extentsMethod · 0.45
attrMethod · 0.45
dimMethod · 0.45

Tested by

no test coverage detected