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

Function local_range_is_valid

nodedb-cluster/tests/wire_version_handshake.rs:122–130  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120/// `local_version_range()` must be consistent: min <= max.
121#[test]
122fn local_range_is_valid() {
123 let r = local_version_range();
124 assert!(
125 r.min <= r.max,
126 "local_version_range min ({}) must be <= max ({})",
127 r.min,
128 r.max
129 );
130}
131
132/// Two identical ranges negotiate to the shared max.
133#[test]

Callers

nothing calls this directly

Calls 1

local_version_rangeFunction · 0.85

Tested by

no test coverage detected