[Kst] [Bug 103442] event monitor: rejects syntax that should be accepted

George Staikos staikos at kde.org
Thu Apr 7 19:07:56 CEST 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=103442         




------- Additional Comments From staikos kde org  2005-04-07 19:07 -------
CVS commit by staikos: 

add testcase, but it passes without problems
CCBUG: 103442


  M +5 -0      testeqparser.cpp   1.28


--- kdeextragear-2/kst/tests/testeqparser.cpp  #1.27:1.28
 @ -332,4 +332,5  @ int main(int argc, char **argv) {
 
   // Vectors
+  KstVector::generateVector(0, 1.0, 10, "1");
   KstVector::generateVector(0, 1.0, 10, "V1");
   KstVector::generateVector(1.0, 2.0, 10, "V2");
 @ -365,4 +366,8  @ int main(int argc, char **argv) {
   test("8|2*2", 0.0, 12.0);
   test("2*2|8", 0.0, 12.0);
+  test("[V1] > 0.0", 0.0, 0.0);
+  test("[V1] > -1.0", 0.0, 1.0);
+  test("[1] > 0.0", 0.0, 0.0);
+  test("[1] > -1.0", 0.0, 1.0);
 
   /*  Wrap a testcase with this and run bison with -t in order to get a trace


More information about the Kst mailing list