[Kst] kdeextragear-2/kst/tests

George Staikos staikos at kde.org
Fri Feb 13 23:26:27 CET 2004


CVS commit by staikos: 

some fixes and a few more tests


  M +12 -22    test_equations.sh   1.2


--- kdeextragear-2/kst/tests/test_equations.sh  #1.1:1.2
@@ -26,6 +26,4 @@
         $QUIT
         rm $TMPFILE
-        rm $TESTFILE
-        rm $KSTFILE
         exit $1;
 }
@@ -117,26 +115,18 @@
 checkStringResponse 110 "true"
 
-echo ""
-#doExit 0
+$DCOP plotEquation -10 10 1000 "sin([V1])" "P2" >$TMPFILE
+checkStringResponse 111 "true"
+
+$DCOP plotEquation -10 10 1000 "cos([V1]*[V1])" "P2" >$TMPFILE
+checkStringResponse 112 "true"
 
+$DCOP plotEquation -10 10 1000 "[V1]+1/[V1]" "P2" >$TMPFILE
+checkStringResponse 113 "true"
 
-#
-# Things to test still
-# --------------------
-#
-# Vector/scalar namespace
-# Object namespace
-# Plot content manipulations
-# Error vectors
-# PSDs
-# Histograms
-# Equations with variables
-# Plugins
-# Labels
-# Data vectors
-# Plot scales
-# Saving and loading
-# Scalars generated for vectors
-#
+$DCOP plotEquation -10 10 1000 "[V1]^2" "P2" >$TMPFILE
+checkStringResponse 114 "true"
+
+echo ""
+doExit 0
 
 





More information about the Kst mailing list