Skip to main content

Module compare

Module compare 

Source
Expand description

Output comparison for local test runs (A-02, issue #25).

compare applies an OutputComparator to captured program output and reports the first differing line so callers can render an expected-vs-actual diff. Comparison is byte-oriented and never invokes a judge checker; results stay LocalVerdict territory, never official judge verdicts (ADR-0005 invariant 1).

Structs§

Comparison
Outcome of comparing actual output against an expected output.
DiffLine
One differing line pair (1-based line number, content without the trailing newline).

Functions§

compare
Compares actual against expected under comparator.