Skip to content

Commit

Permalink
✅ disable UnitTestGen and mark not working tests with FIXME
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Lum committed Mar 24, 2024
1 parent 6e373b6 commit 207c926
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 18 deletions.
26 changes: 13 additions & 13 deletions app/src/test/java/math/ASCIIMathTeXImgUnitTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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' ",
Expand Down Expand Up @@ -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' ",
Expand Down Expand Up @@ -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' ",
Expand Down Expand Up @@ -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' ",
Expand Down Expand Up @@ -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}}' ",
Expand Down Expand Up @@ -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}^{}' ",
Expand Down
2 changes: 2 additions & 0 deletions app/src/test/java/math/TestUnitTestGen.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
10 changes: 5 additions & 5 deletions docs/jacocoSummary.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down

0 comments on commit 207c926

Please sign in to comment.