record_assertion

Function record_assertion 

Source
pub fn record_assertion(name: &str, success: bool)
Expand description

Record an assertion result for statistical tracking.

This function is used internally by the sometimes_assert! macro to track assertion outcomes for later analysis.

ยงParameters

  • name - The assertion identifier
  • success - Whether the assertion condition was true