src/mlpack/tests/cv_test.cpp
BOOST_AUTO_TEST_CASE(TakesDatasetInfoTest)
{
  static_assert(MetaInfoExtractor<DecisionTree<>>::TakesDatasetInfo,
      "Value should be true");
  static_assert(!MetaInfoExtractor<LinearRegression>::TakesDatasetInfo,
      "Value should be false");
  static_assert(!MetaInfoExtractor<SoftmaxRegression>::TakesDatasetInfo,
      "Value should be false");
}
/**
 * Test MetaInfoExtractor correctly identifies whether a given machine learning
 * algorithm takes a data:DatasetInfo parameter.
 */
Test MetaInfoExtractor correctly identifies whether a given machine learning
algorithm takes a data:DatasetInfo parameter.
Test MetaInfoExtractor correctly identifies whether a given machine learning algorithm takes a data : DatasetInfo parameter .
BOOST_AUTO_TEST_CASE(TakesDatasetInfoTest)
{
  static_assert(MetaInfoExtractor<DecisionTree<>>::TakesDatasetInfo,
      "Value should be true");
  static_assert(!MetaInfoExtractor<LinearRegression>::TakesDatasetInfo,
      "Value should be false");
  static_assert(!MetaInfoExtractor<SoftmaxRegression>::TakesDatasetInfo,
      "Value should be false");
}
BOOST_AUTO_TEST_CASE ( TakesDatasetInfoTest ) { static_assert ( MetaInfoExtractor < DecisionTree < > > :: TakesDatasetInfo , " " ) ; static_assert ( ! MetaInfoExtractor < LinearRegression > :: TakesDatasetInfo , " " ) ; static_assert ( ! MetaInfoExtractor < SoftmaxRegression > :: TakesDatasetInfo , " " ) ; }
Test MetaInfoExtractor correctly identifies whether a given machine learning
 algorithm takes a data:DatasetInfo parameter.
Test MetaInfoExtractor correctly identifies whether a given machine learning algorithm takes a data : DatasetInfo parameter .