[Kst] kdeextragear-2/kst/tests
George Staikos
staikos at kde.org
Thu Apr 7 19:07:30 CEST 2005
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