pub fn parse_compare_cases(
text: &str,
a: &Session,
b: &Session,
labels: Labels<'_>,
) -> Result<(Vec<Case>, Vec<Case>), String>Expand description
Parse one cases file for two pages at once: a case per page, each holding the expectations for that page’s questions.
A label may name a question on either page, which is what lets a page that adds a question be compared with one that does not. It is still checked against every page that has the question — a case one page cannot even express is not a paired observation, it is a typo.