Definition at line 78 of file TestRandomTree.h. References Impala::Core::Feature::RandomTree::GetSplit(). 00079 { 00080 RandomTree t1(3); 00081 int dim; 00082 double val; 00083 t1.GetSplit(dim, val); 00084 CPPUNIT_ASSERT_EQUAL(-1, dim); 00085 CPPUNIT_ASSERT_EQUAL(-1., val); 00086 RandomTree t2(2, 4., 0, 0); 00087 t2.GetSplit(dim, val); 00088 CPPUNIT_ASSERT_EQUAL(2, dim); 00089 CPPUNIT_ASSERT_EQUAL(4., val); 00090 }
Here is the call graph for this function:
|