diff --git a/src/mlpack/tests/main_tests/preprocess_binarize_test.cpp b/src/mlpack/tests/main_tests/preprocess_binarize_test.cpp index 16f29db644..af9c94ed5e 100644 --- a/src/mlpack/tests/main_tests/preprocess_binarize_test.cpp +++ b/src/mlpack/tests/main_tests/preprocess_binarize_test.cpp @@ -9,12 +9,11 @@ * 3-clause BSD license along with mlpack. If not, see * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ -#include - #define BINDING_TYPE BINDING_TYPE_TEST -static const std::string testName = "PreprocessBinarize"; #include +static const std::string testName = "PreprocessBinarize"; + #include #include @@ -61,7 +60,7 @@ BOOST_AUTO_TEST_CASE(PreprocessBinarizeDimensionTest) arma::mat inputData = arma::randu(2, 5); // Store size of input dataset. - size_t input_size = inputData.n_cols; + size_t inputSize = inputData.n_cols; // Input custom data and labels. SetInputParam("input", std::move(inputData)); @@ -72,7 +71,7 @@ BOOST_AUTO_TEST_CASE(PreprocessBinarizeDimensionTest) // Now check that the output has desired dimensions. BOOST_REQUIRE_EQUAL(CLI::GetParam("output").n_rows, 2); - BOOST_REQUIRE_EQUAL(CLI::GetParam("output").n_cols, input_size); + BOOST_REQUIRE_EQUAL(CLI::GetParam("output").n_cols, inputSize); } /**