[mlpack] 124/207: Removed the test file

Barak A. Pearlmutter barak+git at pearlmutter.net
Thu Mar 23 17:53:46 UTC 2017


This is an automated email from the git hooks/post-receive script.

bap pushed a commit to branch master
in repository mlpack.

commit 10f404cfde631ba6e8fbe1cb2ed16251413243b7
Author: Praveen Ch <chvsp972911 at gmail.com>
Date:   Mon Mar 6 07:07:53 2017 +1100

    Removed the test file
---
 src/mlpack/tests/CMakeLists.txt     |  1 -
 src/mlpack/tests/load_arff_test.cpp | 39 -------------------------------------
 2 files changed, 40 deletions(-)

diff --git a/src/mlpack/tests/CMakeLists.txt b/src/mlpack/tests/CMakeLists.txt
index 662101b..8e3c91d 100644
--- a/src/mlpack/tests/CMakeLists.txt
+++ b/src/mlpack/tests/CMakeLists.txt
@@ -37,7 +37,6 @@ add_executable(mlpack_test
   lin_alg_test.cpp
   linear_regression_test.cpp
   load_save_test.cpp
-  load_arff_test.cpp
   local_coordinate_coding_test.cpp
   log_test.cpp
   logistic_regression_test.cpp
diff --git a/src/mlpack/tests/load_arff_test.cpp b/src/mlpack/tests/load_arff_test.cpp
deleted file mode 100644
index c93915f..0000000
--- a/src/mlpack/tests/load_arff_test.cpp
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-  @file load_arff_test.cpp
-  @author Praveen Ch
-
-  A test to check whether the arff loader is case insensitive to declarations:
-  @relation, @attribute, @data.
-
-*/
-
-#include <mlpack/core/data/load_arff.hpp>
-#include <mlpack/core/data/dataset_mapper.hpp>
-#include <mlpack/prereqs.hpp>
-#include <mlpack/core/data/map_policies/increment_policy.hpp>
-
-#include <boost/algorithm/string/trim.hpp>
-#include <unordered_map>
-#include <boost/bimap.hpp>
-
-#include <boost/test/unit_test.hpp>
-#include "test_tools.hpp"
-
-using namespace mlpack::data;
-
-BOOST_AUTO_TEST_SUITE(ARFFLoaderTest);
-
-BOOST_AUTO_TEST_CASE(CaseTest)
-{
-  arma::mat dataset;
-
-  DatasetMapper<IncrementPolicy> info;
-
-  LoadARFF<double, IncrementPolicy>("casecheck.arff", dataset, info);
-
-  BOOST_CHECK_EQUAL(dataset.n_rows, 2);
-  BOOST_CHECK_EQUAL(dataset.n_cols, 3);
-
-}
-
-BOOST_AUTO_TEST_SUITE_END();
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git



More information about the debian-science-commits mailing list