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

Function sparse_tile_rejects_bad_arity

nodedb-array/src/tile/sparse_tile.rs:398–406  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

396
397 #[test]
398 fn sparse_tile_rejects_bad_arity() {
399 let s = schema();
400 let mut b = SparseTileBuilder::new(&s);
401 let r = b.push(
402 &[CoordValue::Int64(1)],
403 &[CellValue::String("ALT".into()), CellValue::Float64(0.0)],
404 );
405 assert!(r.is_err());
406 }
407
408 #[test]
409 fn sparse_tile_rejects_bad_attr_count() {

Callers

nothing calls this directly

Calls 2

schemaFunction · 0.70
pushMethod · 0.45

Tested by

no test coverage detected