[mlpack-git] master, mlpack-1.0.x: Adapt test to work in the larger framework of mlpack tests. (9ea390d)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 21:46:41 EST 2015
Repository : https://github.com/mlpack/mlpack
On branches: master,mlpack-1.0.x
Link : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40
>---------------------------------------------------------------
commit 9ea390df186d4b22b251e0f39acaa0c187852217
Author: Ryan Curtin <ryan at ratml.org>
Date: Wed Apr 16 18:54:17 2014 +0000
Adapt test to work in the larger framework of mlpack tests.
>---------------------------------------------------------------
9ea390df186d4b22b251e0f39acaa0c187852217
src/mlpack/tests/sparse_autoencoder_test.cpp | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/mlpack/tests/sparse_autoencoder_test.cpp b/src/mlpack/tests/sparse_autoencoder_test.cpp
index 89c8625..48c4337 100644
--- a/src/mlpack/tests/sparse_autoencoder_test.cpp
+++ b/src/mlpack/tests/sparse_autoencoder_test.cpp
@@ -1,8 +1,11 @@
-#define BOOST_TEST_DYN_LINK
-#define BOOST_TEST_MODULE SparseAutoencoderTest
-
+/**
+ * @file sparse_autoencoder_test.cpp
+ * @author Siddharth Agrawal
+ *
+ * Test the SparseAutoencoder class.
+ */
#include <mlpack/core.hpp>
-#include "sparse_autoencoder.hpp"
+#include <mlpack/methods/sparse_autoencoder/sparse_autoencoder.hpp>
#include <boost/test/unit_test.hpp>
#include "old_boost_test_definitions.hpp"
More information about the mlpack-git
mailing list