Skip to content

Conversation

@zorkow
Copy link
Member

@zorkow zorkow commented Jul 10, 2024

PR updates tests to work again after PR #1110 and #1115

  • Configurations are included in the test files directly, that limits the actual code that is loaded (and not used) during tests.
  • Busproofs tests are updated mainly wrt. to new spacings.

@zorkow zorkow requested a review from dpvc July 10, 2024 09:47
Copy link
Member

@dpvc dpvc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. One question about backslashes, but not critical.

Comment on lines 315 to 353
`<math xmlns=\"http://www.w3.org/1998/Math/MathML\" data-latex=\"\\begin{prooftree}\\AxiomC{A}\\LeftLabel{L}\\UnaryInfC{B}\\end{prooftree}\" display=\"block\">
<mrow data-latex=\"\\begin{prooftree}\\AxiomC{A}\\LeftLabel{L}\\UnaryInfC{B}\\end{prooftree}\" data-latex-item=\"{prooftree}\" semantics=\"bspr_labelledRule:left;bspr_inference:1;bspr_proof:true\">
<mpadded height=\".25em\" depth=\"+.25em\" width=\"+.5ex\" voffset=\"-.25em\" semantics=\"bspr_prooflabel:left\">
<mstyle displaystyle=\"false\" scriptlevel=\"0\">
<mtext>L</mtext>
</mstyle>
</mpadded>
<mtable align=\"top 2\" rowlines=\"solid\" framespacing=\"0 0\" semantics=\"bspr_inferenceRule:down\">
<mtr>
<mtd>
<mtable framespacing=\"0 0\">
<mtr>
<mtd rowalign=\"bottom\">
<mrow data-latex=\"\\LeftLabel{L}\" semantics=\"bspr_axiom:true\">
<mspace width=\".5ex\"></mspace>
<mstyle displaystyle=\"false\" scriptlevel=\"0\">
<mtext>A</mtext>
</mstyle>
<mspace width=\".5ex\"></mspace>
</mrow>
</mtd>
</mtr>
</mtable>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow>
<mspace width=\".5ex\"></mspace>
<mstyle displaystyle=\"false\" scriptlevel=\"0\">
<mtext>B</mtext>
</mstyle>
<mspace width=\".5ex\"></mspace>
</mrow>
</mtd>
</mtr>
</mtable>
</mrow>
</math>`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are all the backslashes needed for the quotation marks? I guess they don't hurt, but they make the expected output a little harder to read.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That comes from the little Emacs function that allows for copying received values from the test log.
And they actually do hurt, at least in the last three tests, where I had to manually copy things over from the test output as the slashed quotes ruined the tests.

I'll remove them and then merge.

@zorkow zorkow merged commit 20f4674 into develop Jul 10, 2024
@zorkow zorkow deleted the tests/configuration_loading branch July 10, 2024 10:43
@dpvc dpvc added this to the v4.0 milestone Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants