Skip to content

Commit 0dc5efc

Browse files
committed
Merge branch 'master' of git.assembla.com:MBI_ICA
2 parents 560b6f0 + ade6f0d commit 0dc5efc

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

tests/pca_test.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,5 @@ BOOST_AUTO_TEST_CASE(dimension_reduction)
4242

4343
BOOST_CHECK(D.n_elem == 1);
4444
}
45+
46+
#include "whitening_test.h"

tests/tests.pro

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ TEMPLATE = app
1010
CONFIG += console
1111

1212
SOURCES += \
13-
pca_test.cpp \
14-
whitening_test.cpp
13+
pca_test.cpp
14+
HEADERS += \
15+
whitening_test.h
1516

1617
LIBS += -lmbica -larmadillo -lboost_unit_test_framework
1718

tests/whitening_test.cpp renamed to tests/whitening_test.h

-7
Original file line numberDiff line numberDiff line change
@@ -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>
81

92
BOOST_AUTO_TEST_CASE( identity_covariance )
103
{

0 commit comments

Comments
 (0)