Skip to content

SurfaceRateGuards ​

What the rate layer refuses, and what each refusal states

6/6 passed in 7ms

TestWhat it doesResult
test_counts_wholeA span and a packet length are counts of rounds and of pulses, so a fractional one is refused rather than truncated.✅ pass
test_families_apartThe pairing window and the packet-length sweep run for one family each and refuse the other by name.✅ pass
test_named_statedThe cost assembly and the phase-error bound are the caller's to state, and an unregistered name for either is refused rather than resolved.✅ pass
test_register_namedA family with a component tree is not registered here, and the refusal names q.Link, q.Swap or q.PairLink instead of offering a second route.✅ pass
test_reltol_scopedA central-path tolerance is refused by a shape that reaches no solver rather than accepted and ignored, and accepted by the branch that does read one.✅ pass
test_shape_wholeA shape is taken whole: a partial one is refused naming every shape the family reads, no argument here having a safe default.✅ pass