1.1 --- a/isac-java/src/java-tests/isac/gui/mawen/scalaterm/TestUtil.scala Fri Jun 17 13:33:55 2016 +0200
1.2 +++ b/isac-java/src/java-tests/isac/gui/mawen/scalaterm/TestUtil.scala Fri Jun 17 14:15:18 2016 +0200
1.3 @@ -106,12 +106,12 @@
1.4
1.5 println("\\--END isac.gui.mawen.scalaterm.TestUtil#test_string_of");
1.6 }
1.7 -
1.8 + /**
1.9 + * tested on validity with: http://www-archive.mozilla.org/projects/mathml/demo/tester.html
1.10 + */
1.11 def test_mathml_of() {
1.12 println("/--BEGIN isac.gui.mawen.scalaterm.TestUtil#mathml_of");
1.13 - assertEquals(Util.mathml_of(TestsDATA.tt3),
1.14 - "<mrow><mn>1</mn><mo> + </mo><mfrac><mrow><mn>2</mn><mo> * </mo><mi>x</mi><mo> * </mo><mfenced separators=''><mi>y</mi><mo> + </mo><mn>3</mn></mfenced></mrow><mrow><mfenced separators=''><mn>4</mn><mo> * </mo><mi>z</mi><mo> * </mo><mfenced separators=''><mi>y</mi><mo> + </mo><mn>3</mn></mfenced></mfenced></mrow></mfrac><mo> + </mo><mn>5</mn></mrow>")
1.15 + assertEquals(Util.mathml_of(TestsDATA.tt3), TestsDATA.tt3_math());
1.16 println("\\--END isac.gui.mawen.scalaterm.TestUtil#mathml_of");
1.17 }
1.18 -
1.19 }
1.20 \ No newline at end of file