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

Function build_rejects_no_attrs

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

Source from the content-addressed store, hash-verified

116
117 #[test]
118 fn build_rejects_no_attrs() {
119 let r = ArraySchemaBuilder::new("g")
120 .dim(int64_dim("d", 10))
121 .tile_extents(vec![1])
122 .build();
123 assert!(r.is_err());
124 }
125
126 #[test]
127 fn build_rejects_extent_arity_mismatch() {

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected