[Kst] kdeextragear-2/kst/tests
George Staikos
staikos at kde.org
Tue Dec 14 21:24:20 CET 2004
CVS commit by staikos:
testcase that passes
M +8 -0 testlabelparser.cpp 1.2
--- kdeextragear-2/kst/tests/testlabelparser.cpp #1.1:1.2
@@ -217,4 +217,12 @@ void doTests() {
delete parsed;
+ parsed = Label::parse("{2*2}");
+ doTest(parsed != 0L);
+ c = parsed->chunk;
+ doTest(c->next == 0L);
+ doTest(c->text == "{2*2}");
+ doTest(c->vOffset == Label::Chunk::None);
+ delete parsed;
+
}
More information about the Kst
mailing list