Skip to main content

evaluate_omena_fixture_v0

Function evaluate_omena_fixture_v0 

Source
pub fn evaluate_omena_fixture_v0(
    fixture: &OmenaFixtureV0,
    diagnostics: &[OmenaFixtureDiagnosticV0],
    boundary_states: &[OmenaFixtureBoundaryStateV0],
    cascades: &[OmenaFixtureCascadeV0],
) -> Vec<OmenaFixtureExpectationOutcomeV0>
Expand description

Evaluate every parsed expectation in fixture against supplied engine output, returning one OmenaFixtureExpectationOutcomeV0 per expectation.

diagnostics is the flattened diagnostic set the engine produced for the fixture’s files; boundary_states is the resolver boundary-state set keyed by external reference id; cascades is the per-scope cascade projection the resolver-generator produced from #33’s SIFs. All shipped families (diagnostic / no-diagnostic / count / boundary-state / cascade-outcome / cascade-witness) are evaluated here.