Update comment for accuracy; I should have been more specific when I wrote it.

This commit is contained in:
Ryan Curtin
2016-04-18 10:44:28 -07:00
parent 8a249cf02c
commit a6f20af309
2 changed files with 4 additions and 8 deletions
+1 -5
View File
@@ -21,10 +21,6 @@ using namespace mlpack::metric;
BOOST_AUTO_TEST_SUITE(RectangleTreeTest);
// Be careful! When writing new tests, always get the boolean value and store
// it in a temporary, because the Boost unit test macros do weird things and
// will cause bizarre problems.
// Test the traits on RectangleTrees.
BOOST_AUTO_TEST_CASE(RectangleTreeTraitsTest)
@@ -254,7 +250,7 @@ BOOST_AUTO_TEST_CASE(TreeLocalDatasetInSync)
{
arma::mat dataset;
dataset.randu(8, 1000); // 1000 points in 8 dimensions.
typedef RTree<EuclideanDistance, NeighborSearchStat<NearestNeighborSort>,
arma::mat> TreeType;
+3 -3
View File
@@ -23,9 +23,9 @@ using namespace mlpack::metric;
BOOST_AUTO_TEST_SUITE(TreeTraitsTest);
// Be careful! When writing new tests, always get the boolean value and store
// it in a temporary, because the Boost unit test macros do weird things and
// will cause bizarre problems.
// Be careful! When writing new tests, always get the boolean value of each
// trait and store it in a temporary, because the Boost unit test macros do
// weird things and will cause bizarre problems.
// Test the defaults.
BOOST_AUTO_TEST_CASE(DefaultsTraitsTest)