Skip to content

Commit 7856743

Browse files
ferdymercuryguitargeek
authored andcommitted
[test] activate further kdtree tests
which uses the FindInRange function
1 parent 41c77da commit 7856743

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

math/mathcore/test/kDTreeTest.cxx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ bool showGraphics = false;
2626
void TestBuild(const Int_t npoints = 1000000, const Int_t bsize = 100);
2727
void TestConstr(const Int_t npoints = 1000000, const Int_t bsize = 100);
2828
void TestSpeed(Int_t npower2 = 20, Int_t bsize = 10);
29+
void TestMembers();
30+
void TestNeighbors();
31+
void TestRange();
2932

3033
//void TestkdtreeIF(Int_t npoints=1000, Int_t bsize=9, Int_t nloop=1000, Int_t mode = 2);
3134
//void TestSizeIF(Int_t nsec=36, Int_t nrows=159, Int_t npoints=1000, Int_t bsize=10, Int_t mode=1);
@@ -51,6 +54,12 @@ void kDTreeTest()
5154
TestBuild();
5255
printf("\n\tTesting kDTree speed ...\n");
5356
TestSpeed();
57+
printf("\n\tTesting kDTree members ...\n");
58+
TestMembers();
59+
printf("\n\tTesting kDTree neighbors ...\n");
60+
TestNeighbors();
61+
printf("\n\tTesting kDTree range ...\n");
62+
TestRange();
5463
}
5564

5665
////////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)