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

Function column_out_of_range

nodedb-columnar/src/reader/block_decode.rs:518–525  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

516
517 #[test]
518 fn column_out_of_range() {
519 let segment = write_test_segment(10);
520 let reader = SegmentReader::open(&segment).expect("open");
521 assert!(matches!(
522 reader.read_column(99),
523 Err(crate::error::ColumnarError::ColumnOutOfRange { index: 99, .. })
524 ));
525 }
526
527 #[test]
528 fn write_read_roundtrip_multi_block() {

Callers

nothing calls this directly

Calls 3

write_test_segmentFunction · 0.70
openFunction · 0.50
expectMethod · 0.45

Tested by

no test coverage detected