[Kst] extragear/graphics/kst/tests

George Staikos staikos at kde.org
Fri Jul 8 02:16:03 CEST 2005


SVN commit 432617 by staikos:

fix build


 M  +0 -4      testhistogram.cpp  


--- trunk/extragear/graphics/kst/tests/testhistogram.cpp #432616:432617
@@ -39,7 +39,6 @@
   KST::dataObjectList.append(h1.data());
   doTest(h1->propertyString() == "Histogram: V1");
   doTest(!h1->realTimeAutoBin()); // should be false by default
-  doTest(h1->type() == KST_HISTOGRAM);
   doTest(h1->nBins() == 10);
   doTest(h1->vMin() == 0.0);
   doTest(h1->vMax() == 10.0);
@@ -80,7 +79,6 @@
   doTest(count == 100); // should still account for the whole vector
   // min > max
   h1 = new KstHistogram("H2", vp, 10, 0, 10, KST_HS_NUMBER);
-  doTest(h1->type() == KST_HISTOGRAM);
   doTest(h1->nBins() == 10);
   doTest(h1->xMin() == 0.0);
   doTest(h1->xMax() == 10.0);
@@ -89,7 +87,6 @@
   doTest(h1->vNumSamples() == 100);
   // min == max
   h1 = new KstHistogram("H3", vp, 10, 10, 2, KST_HS_NUMBER);
-  doTest(h1->type() == KST_HISTOGRAM);
   doTest(h1->nBins() == 2);
   doTest(h1->xMin() == 9.0);
   doTest(h1->xMax() == 11.0);
@@ -98,7 +95,6 @@
   doTest(h1->vNumSamples() == 100);
   // max < min
   h1 = new KstHistogram("H4", vp, 11, 9, 1, KST_HS_NUMBER);
-  doTest(h1->type() == KST_HISTOGRAM);
   doTest(h1->nBins() == 2);
   doTest(h1->xMax()==11);
   doTest(h1->xMin()==9);


More information about the Kst mailing list