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

Function simple_schema

nodedb/tests/array_codec_roundtrip.rs:38–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38fn simple_schema() -> nodedb_array::ArraySchema {
39 ArraySchemaBuilder::new("s")
40 .dim(DimSpec::new(
41 "x",
42 DimType::Int64,
43 Domain::new(DomainBound::Int64(0), DomainBound::Int64(1_000_000)),
44 ))
45 .attr(AttrSpec::new("v", AttrType::Int64, true))
46 .tile_extents(vec![1000])
47 .build()
48 .unwrap()
49}
50
51/// Test 1: 10k-cell tile write + read exact equality.
52#[test]

Calls 4

buildMethod · 0.45
tile_extentsMethod · 0.45
attrMethod · 0.45
dimMethod · 0.45

Tested by

no test coverage detected