Kolaru / MathTeXEngine.jl

A latex math mode engine in pure Julia.
MIT License
97 stars 19 forks source link

Setup reference tests #81

Closed Kolaru closed 1 year ago

Kolaru commented 1 year ago

Fix #78 by allowing to easily create reference image and compare them between the master branch and the current one.

Need to wait until Makie release a version that is compatible with MathTeXEngine v0.5.1.

All this need to be run locally, no fancy CI setup yet.

codecov-commenter commented 1 year ago

Codecov Report

Base: 79.78% // Head: 80.12% // Increases project coverage by +0.33% :tada:

Coverage data is based on head (23050c4) compared to base (50f8b4c). Patch has no changes to coverable lines.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #81 +/- ## ========================================== + Coverage 79.78% 80.12% +0.33% ========================================== Files 7 7 Lines 470 483 +13 ========================================== + Hits 375 387 +12 - Misses 95 96 +1 ``` | [Impacted Files](https://codecov.io/gh/Kolaru/MathTeXEngine.jl/pull/81?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Beno%C3%AEt+Richard) | Coverage Δ | | |---|---|---| | [src/parser/parser.jl](https://codecov.io/gh/Kolaru/MathTeXEngine.jl/pull/81/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Beno%C3%AEt+Richard#diff-c3JjL3BhcnNlci9wYXJzZXIuamw=) | `75.94% <0.00%> (-0.83%)` | :arrow_down: | | [src/parser/texexpr.jl](https://codecov.io/gh/Kolaru/MathTeXEngine.jl/pull/81/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Beno%C3%AEt+Richard#diff-c3JjL3BhcnNlci90ZXhleHByLmps) | `80.35% <0.00%> (+0.35%)` | :arrow_up: | | [src/engine/layout\_context.jl](https://codecov.io/gh/Kolaru/MathTeXEngine.jl/pull/81/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Beno%C3%AEt+Richard#diff-c3JjL2VuZ2luZS9sYXlvdXRfY29udGV4dC5qbA==) | `94.11% <0.00%> (+0.36%)` | :arrow_up: | | [src/engine/layout.jl](https://codecov.io/gh/Kolaru/MathTeXEngine.jl/pull/81/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Beno%C3%AEt+Richard#diff-c3JjL2VuZ2luZS9sYXlvdXQuamw=) | `90.22% <0.00%> (+0.62%)` | :arrow_up: | | [src/engine/texelements.jl](https://codecov.io/gh/Kolaru/MathTeXEngine.jl/pull/81/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Beno%C3%AEt+Richard#diff-c3JjL2VuZ2luZS90ZXhlbGVtZW50cy5qbA==) | `81.57% <0.00%> (+1.31%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Beno%C3%AEt+Richard). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Beno%C3%AEt+Richard)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.