[Kst] extragear/graphics/kst/tests

George Staikos staikos at kde.org
Tue Feb 28 00:29:29 CET 2006


SVN commit 514319 by staikos:

some tests to illustrate three problems.  to be fixed.


 M  +7 -1      testlabelparser.cpp  


--- trunk/extragear/graphics/kst/tests/testlabelparser.cpp #514318:514319
@@ -421,8 +421,14 @@
 
   parsed = Label::parse("\\Sigma^{(x+5)^2}_{5+1} + \\Pi^{\\Sigma^{i-j}_{i+j}}_{x = 0} + 5");
   doTest(parsed != 0L);
+  // more to test here
+  delete parsed;
+
+  parsed = Label::parse("A test \\textbf{bold \\textit{italicbold}} \\textit{italic}\n42^{\\textbf{42}^{42}} 42^\\textbf{42^{42}} 42^{42}\n\\underline{a whole\\tregion  underlined}");
+  // FIXME
+  delete parsed;
+
   // more to test...
-  delete parsed;
 }
 
 


More information about the Kst mailing list