[Kst] kdeextragear-2/kst/tests
George Staikos
staikos at kde.org
Mon Mar 28 06:39:04 CEST 2005
CVS commit by staikos:
update testcase for new update behaviour
M +3 -0 testhistogram.cpp 1.8
--- kdeextragear-2/kst/tests/testhistogram.cpp #1.7:1.8
@@ -45,4 +45,5 @@ void doTests() {
doTest(h1->vMax() == 10.0);
doTest(h1->vNumSamples() == 100);
+ h1->update(0);
int count = 0;
for (int i=0; i<10; i++) {
@@ -59,4 +60,5 @@ void doTests() {
doTest(h1->vMax() == 10.0);
doTest(h1->vNumSamples() == 100);
+ h1->update(0);
count = 0;
for (int i=0; i<11; i++) {
@@ -70,4 +72,5 @@ void doTests() {
doTest(h1->vMax() == 10.0);
doTest(h1->vNumSamples() == 100);
+ h1->update(0);
count = 0;
for (int i=0; i<9; i++) {
More information about the Kst
mailing list