File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 88
99import os
1010import sys
11- import libmathcat_py as libmathcat # type: ignore
11+ import test_name as libmathcat # type: ignore
1212
1313# import shutil
1414# if os.path.exists("libmathcat_py.pyd"):
@@ -31,7 +31,7 @@ def setMathCATPreferences():
3131 libmathcat .SetPreference ("SpeechStyle" , "SimpleSpeak" ) # Also "ClearSpeak"
3232 libmathcat .SetPreference ("Verbosity" , "Verbose" ) # also terse "Terse"/"Medium"
3333 libmathcat .SetPreference ("CapitalLetters_UseWord" , "true" ) # if "true", X => "cap x"
34- libmathcat .SetPreference ("BrailleCode" , "Nemeth" );
34+ libmathcat .SetPreference ("BrailleCode" , "Nemeth" )
3535 except Exception as e :
3636 sys .exit (f"problem with setting a preference: { e } " )
3737
@@ -82,14 +82,12 @@ def test():
8282 if speech != 'x cubed' :
8383 sys .exit (f"MathML: { mathml } \n Speech: '{ speech } '" )
8484
85-
8685 mathml = "<math><msup intent='transpose:postfix($x)'> <mi arg='x'>x</mi> <mi>T</mi> </msup> </math>"
8786 setMathMLForMathCAT (mathml )
8887 speech = getSpeech ()
8988 if speech != ', x transpose' :
9089 sys .exit (f"MathML: { mathml } \n Speech: '{ speech } '" )
9190
92-
9391 mathml = "<math><mrow intent='_(x, $op)'><mo arg='op'>!</mo></mrow></math>"
9492 setMathMLForMathCAT (mathml )
9593 speech = getSpeech ()
@@ -107,4 +105,4 @@ def test():
107105
108106
109107test ()
110- sys .exit (0 )
108+ sys .exit (0 )
You can’t perform that action at this time.
0 commit comments