diff --git a/app/src/test/java/math/ASCIIMathTeXImgUnitTest.java b/app/src/test/java/math/ASCIIMathTeXImgUnitTest.java index 2196873..fdeac88 100644 --- a/app/src/test/java/math/ASCIIMathTeXImgUnitTest.java +++ b/app/src/test/java/math/ASCIIMathTeXImgUnitTest.java @@ -94,8 +94,8 @@ class ASCIIMathTeXImgUnitTest { " 'ast' , '\\ast' ", " 'backslash' , '\\backslash' ", " 'bar' , '\\overline{}' ", - " 'bb' , '{b}{b}' ", - " 'bbb' , '{b}{b}{b}' ", + " 'bb' , '{b}{b}' ", //FIXME + " 'bbb' , '{b}{b}{b}' ", //FIXME " 'beta' , '\\beta' ", " 'bigcap' , '\\bigcap' ", " 'bigcup' , '\\bigcup' ", @@ -152,7 +152,7 @@ class ASCIIMathTeXImgUnitTest { " 'glb' , '\\glb' ", " 'grad' , '\\nabla' ", " 'gt' , '\\gt' ", - " 'mgt' , '{m}\\gt' ", + " 'mgt' , '{m}\\gt' ", //FIXME " 'gt=' , '\\geq' ", " 'hArr' , '\\Leftrightarrow' ", " 'harr' , '\\leftrightarrow' ", @@ -182,7 +182,7 @@ class ASCIIMathTeXImgUnitTest { " 'ln' , '{\\ln{}}' ", " 'log' , '{\\log{}}' ", " 'lt' , '\\lt' ", - " 'mlt' , '{m}\\lt' ", + " 'mlt' , '{m}\\lt' ", //FIXME " 'lt=' , '\\leq' ", " 'ltimes' , '\\ltimes' ", " 'lub' , '\\lub' ", @@ -220,7 +220,7 @@ class ASCIIMathTeXImgUnitTest { " 'pm' , '\\pm' ", " 'prec' , '\\prec' ", " 'preceq' , '\\preceq' ", - " 'prime' , '{p}{r}{i}{m}{e}' ", + " 'prime' , '{p}{r}{i}{m}{e}' ", //FIXME " 'prod' , '\\prod' ", " 'prop' , '\\propto' ", " 'propto' , '\\propto' ", @@ -338,12 +338,12 @@ class ASCIIMathTeXImgUnitTest { " '\"hi\"' , '\\text{hi}' ", " 'cancel(x)' , '\\cancel{{{x}}}' ", " 'color(red)(x)' , '{\\textcolor{red}{{x}}}' ", - " 'bb(x)' , '{b}{b}{\\left({x}\\right)}' ", - " 'sf(x)' , '{s}{f{{\\left({x}\\right)}}}' ", - " 'bbb(x)' , '{b}{b}{b}{\\left({x}\\right)}' ", - " 'cc(x)' , '{c}{c}{\\left({x}\\right)}' ", - " 'tt(x)' , '{t}{t}{\\left({x}\\right)}' ", - " 'fr(x)' , '{f}{r}{\\left({x}\\right)}' ", + " 'bb(x)' , '{b}{b}{\\left({x}\\right)}' ", //FIXME + " 'sf(x)' , '{s}{f{{\\left({x}\\right)}}}' ", //FIXME + " 'bbb(x)' , '{b}{b}{b}{\\left({x}\\right)}' ", //FIXME + " 'cc(x)' , '{c}{c}{\\left({x}\\right)}' ", //FIXME + " 'tt(x)' , '{t}{t}{\\left({x}\\right)}' ", //FIXME + " 'fr(x)' , '{f}{r}{\\left({x}\\right)}' ", //FIXME " 'x' , '{x}' ", " '2' , '{2}' ", " 'x^2' , '{x}^{{2}}' ", @@ -445,8 +445,8 @@ class ASCIIMathTeXImgUnitTest { " 'u_-3 + u_- 3' , '{u}_{{-{{3}}}}+{u}_{{-{{3}}}}' ", " '2^- +3' , '{2}^{{-{+}}}{3}' ", " '3~2,5sim4' , '{3}~{2},{5}{s}{i}{m}{4}' ", - " 'overparen(AB)' , '{o}{v}{e}{r}{p}{a}{r}{e}{n}{\\left({A}{B}\\right)}' ", - " 'overarc(AB)' , '{o}{v}{e}{r}{a}{r}{c}{\\left({A}{B}\\right)}' ", + " 'overparen(AB)' , '{o}{v}{e}{r}{p}{a}{r}{e}{n}{\\left({A}{B}\\right)}' ", //FIXME + " 'overarc(AB)' , '{o}{v}{e}{r}{a}{r}{c}{\\left({A}{B}\\right)}' ", //FIXME " '(x-+5)(xmp5)' , '{\\left({x}-+{5}\\right)}{\\left({x}{m}{p}{5}\\right)}' ", " '3/' , '\\frac{{3}}{}' ", " '2^' , '{2}^{}' ", diff --git a/app/src/test/java/math/TestUnitTestGen.java b/app/src/test/java/math/TestUnitTestGen.java index 85fc81f..b025a37 100644 --- a/app/src/test/java/math/TestUnitTestGen.java +++ b/app/src/test/java/math/TestUnitTestGen.java @@ -4,9 +4,11 @@ import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.CsvSource; +@Disabled("Just to generate the unit test file, not a test") class TestUnitTestGen { ASCIIMathTeXImg cut = new ASCIIMathTeXImg(); diff --git a/docs/jacocoSummary.md b/docs/jacocoSummary.md index 78ef59d..5f6be6e 100644 --- a/docs/jacocoSummary.md +++ b/docs/jacocoSummary.md @@ -1,8 +1,8 @@ -|Type | Missed/Total| Coverage| -|:--- | ---:| ---:| -|INSTRUCTION|~~78/6203~~ 78/6236| ~~98.74~~ 98.75%| -|BRANCH |(Not Changed)41/357|(Not Changed)88.52%| -|LINE | ~~11/413~~ 11/415| ~~97.34~~ 97.35%| +|Type | Missed/Total| Coverage| +|:--- | ---:| ---:| +|INSTRUCTION|(Not Changed)78/6236|(Not Changed)98.75%| +|BRANCH | (Not Changed)41/357|(Not Changed)88.52%| +|LINE | (Not Changed)11/415|(Not Changed)97.35%| Class list with less coverage (Worst 5)