We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 560b6f0 + ade6f0d commit 0dc5efcCopy full SHA for 0dc5efc
tests/pca_test.cpp
@@ -42,3 +42,5 @@ BOOST_AUTO_TEST_CASE(dimension_reduction)
42
43
BOOST_CHECK(D.n_elem == 1);
44
}
45
+
46
+#include "whitening_test.h"
tests/tests.pro
@@ -10,8 +10,9 @@ TEMPLATE = app
10
CONFIG += console
11
12
SOURCES += \
13
- pca_test.cpp \
14
- whitening_test.cpp
+ pca_test.cpp
+HEADERS += \
15
+ whitening_test.h
16
17
LIBS += -lmbica -larmadillo -lboost_unit_test_framework
18
tests/whitening_test.cpp renamed to tests/whitening_test.h
@@ -1,10 +1,3 @@
1
-#include "utils.h"
2
-#include <armadillo>
3
-using namespace arma;
4
-
5
-#define BOOST_TEST_MODULE Whitening_tests
6
-#define BOOST_T
7
-#include <boost/test/unit_test.hpp>
8
9
BOOST_AUTO_TEST_CASE( identity_covariance )
{
0 commit comments