Skip to content

Commit 29ccc9a

Browse files
authored
Merge pull request #838 from Speech-Rule-Engine/tests/mathjax_upgrade
Tests/mathjax upgrade
2 parents 397026d + 475ff52 commit 29ccc9a

25 files changed

+198
-99
lines changed

pnpm-lock.yaml

Lines changed: 27 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

testsuite/input/base/clearspeak_preferences2_test.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
2-
"tests":
3-
{
2+
"tests": {
43
"Abs01": {
54
"preference": "AbsoluteValue_Auto",
65
"input": "<mrow><mrow><mo>|</mo><mi>x</mi><mo>|</mo></mrow></mrow>"

testsuite/input/base/clearspeak_preferences_test.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
2-
"tests":
3-
{
2+
"tests": {
43
"Abs01": {
54
"input": "<mrow><mrow><mo>|</mo><mi>x</mi><mo>|</mo></mrow></mrow>"
65
},

testsuite/input/base/math_alphabets_test.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,4 +302,4 @@
302302
"preference": "default"
303303
}
304304
}
305-
}
305+
}

testsuite/input/base/semantic_rule_test.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,4 +176,4 @@
176176
"preference": "default"
177177
}
178178
}
179-
}
179+
}

testsuite/input/clearspeak/clearspeak_absolute_value.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,4 @@
123123
"input": "<mrow><mrow><mo>|</mo><mrow><mtable><mtr><mtd><mrow><mfrac><mn>1</mn><mn>2</mn></mfrac></mrow></mtd><mtd><mrow><mfrac><mn>2</mn><mn>3</mn></mfrac></mrow></mtd></mtr><mtr><mtd><mrow><mfrac><mn>3</mn><mn>4</mn></mfrac></mrow></mtd><mtd><mrow><mfrac><mn>1</mn><mn>5</mn></mfrac></mrow></mtd></mtr></mtable></mrow><mo>|</mo></mrow></mrow>"
124124
}
125125
}
126-
}
126+
}

testsuite/input/clearspeak/clearspeak_fractions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,4 +690,4 @@
690690
"input": "<math><mrow><mfrac><mrow><msub><mi>f</mi><mn>1</mn></msub><mrow><mo>(</mo><mi>x</mi><mo>)</mo></mrow></mrow><mrow><msub><mi>g</mi><mn>1</mn></msub><mrow><mo>(</mo><mi>x</mi><mo>)</mo></mrow></mrow></mfrac></mrow></math>"
691691
}
692692
}
693-
}
693+
}

testsuite/input/clearspeak/clearspeak_logarithms.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,4 +198,4 @@
198198
"input": "<math><mrow><mfrac><mrow><mi>ln</mi><mn>40</mn><mo>+</mo><mi>ln</mi><mn>60</mn></mrow><mrow><mi>ln</mi><mn>5</mn></mrow></mfrac></mrow></math>"
199199
}
200200
}
201-
}
201+
}

testsuite/input/clearspeak/clearspeak_named_sets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,4 @@
123123
"input": "<mrow><msup><mi mathvariant=\"double-struck\">R</mi><mi>∞</mi></msup></mrow>"
124124
}
125125
}
126-
}
126+
}

testsuite/input/clearspeak/clearspeak_roots.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,4 +688,4 @@
688688
"input": "<math><mrow><mo>−</mo><mroot><mi>n</mi><mn>4</mn></mroot></mrow></math>"
689689
}
690690
}
691-
}
691+
}

0 commit comments

Comments
 (0)