[Kst] kdeextragear-2/kst/tests

George Staikos staikos at kde.org
Fri Apr 29 01:51:10 CEST 2005


CVS commit by staikos: 

testcases for #104695


  M +5 -1      testeqparser.cpp   1.29


--- kdeextragear-2/kst/tests/testeqparser.cpp  #1.28:1.29
@@ -148,4 +148,6 @@ static void exitHelper() {
 
 
+extern int yydebug;
+
 int main(int argc, char **argv) {
   atexit(exitHelper);
@@ -371,8 +373,10 @@ int main(int argc, char **argv) {
   test("[1] > -1.0", 0.0, 1.0);
 
+  test("-([V1]*sin([V1]*[V2])+[V3]*cos([V3]*[V3]))", 0.0, 0.0);
+  test("[V3] * -1", 0.0, 0.0);
+
   /*  Wrap a testcase with this and run bison with -t in order to get a trace
    *  of the parse stack */
 #if 0
-  extern int yydebug;
   yydebug = 1;
   yydebug = 0;




More information about the Kst mailing list