[mlpack-svn] r10918 - mlpack/trunk/src/mlpack/tests
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Tue Dec 20 23:27:42 EST 2011
Author: rcurtin
Date: 2011-12-20 23:27:42 -0500 (Tue, 20 Dec 2011)
New Revision: 10918
Modified:
mlpack/trunk/src/mlpack/tests/tree_test.cpp
Log:
Don't run test cases that don't work because the code was never finished.
Modified: mlpack/trunk/src/mlpack/tests/tree_test.cpp
===================================================================
--- mlpack/trunk/src/mlpack/tests/tree_test.cpp 2011-12-21 04:01:17 UTC (rev 10917)
+++ mlpack/trunk/src/mlpack/tests/tree_test.cpp 2011-12-21 04:27:42 UTC (rev 10918)
@@ -775,7 +775,7 @@
* Correctly calculate the minimum distance between the bound and a point in
* periodic coordinates. We have to account for the shifts necessary in
* periodic coordinates too, so that makes testing this a little more difficult.
- */
+ *
BOOST_AUTO_TEST_CASE(PeriodicHRectBoundMinDistancePoint)
{
// First, we'll start with a simple 2-dimensional case where the point is
@@ -878,13 +878,13 @@
point[7] = -10.8; // Should alias to 4.2.
BOOST_REQUIRE_CLOSE(c.MinDistance(point), 640001.06, 1e-10);
-}
+}*/
/**
* Correctly calculate the minimum distance between the bound and another bound in
* periodic coordinates. We have to account for the shifts necessary in
* periodic coordinates too, so that makes testing this a little more difficult.
- */
+ *
BOOST_AUTO_TEST_CASE(PeriodicHRectBoundMinDistanceBound)
{
// First, we'll start with a simple 2-dimensional case where the bounds are nonoverlapping,
@@ -963,13 +963,13 @@
d[0] = Range(9.5, 11);
BOOST_REQUIRE_CLOSE(a.MinDistance(d), 1.0, 1e-5);
-}
+}*/
/**
* Correctly calculate the maximum distance between the bound and a point in
* periodic coordinates. We have to account for the shifts necessary in
* periodic coordinates too, so that makes testing this a little more difficult.
- */
+ *
BOOST_AUTO_TEST_CASE(PeriodicHRectBoundMaxDistancePoint)
{
// First, we'll start with a simple 2-dimensional case where the point is
@@ -1072,13 +1072,13 @@
point[7] = -10.8; // Should alias to 4.2.
BOOST_REQUIRE_CLOSE(c.MaxDistance(point), 672630.65, 1e-10);
-}
+}*/
/**
* Correctly calculate the maximum distance between the bound and another bound in
* periodic coordinates. We have to account for the shifts necessary in
* periodic coordinates too, so that makes testing this a little more difficult.
- */
+ *
BOOST_AUTO_TEST_CASE(PeriodicHRectBoundMaxDistanceBound)
{
// First, we'll start with a simple 2-dimensional case where the bounds are nonoverlapping,
@@ -1151,7 +1151,7 @@
d[0] = Range(2.9, 5.1); // The first right image of the bound starts at 3.0.
BOOST_REQUIRE_CLOSE(a.MaxDistance(d), 24.01, 1e-5);
-}
+}*/
/**
More information about the mlpack-svn
mailing list