src/mlpack/tests/ann_layer_test.cpp
BOOST_AUTO_TEST_CASE(SelectLayerParametersTest)
{
  // Parameter order : index, elements.
  Select<> layer(3, 5);

  // Make sure we can get the parameters successfully.
  BOOST_REQUIRE_EQUAL(layer.Index(), 3);
  BOOST_REQUIRE_EQUAL(layer.NumElements(), 5);
}
/**
 * Test that the functions that can access the parameters of the
 * Select layer work.
 */
Test that the functions that can access the parameters of the
Select layer work.
Test that the functions that can access the parameters of the Select layer work .
BOOST_AUTO_TEST_CASE(SelectLayerParametersTest)
{
  Select<> layer(3, 5);
  BOOST_REQUIRE_EQUAL(layer.Index(), 3);
  BOOST_REQUIRE_EQUAL(layer.NumElements(), 5);
}
BOOST_AUTO_TEST_CASE ( SelectLayerParametersTest ) { Select < > layer ( 3 , 5 ) ; BOOST_REQUIRE_EQUAL ( layer . Index ( ) , 3 ) ; BOOST_REQUIRE_EQUAL ( layer . NumElements ( ) , 5 ) ; }
Test that the functions that can access the parameters of the
 Select layer work.
Test that the functions that can access the parameters of the Select layer work .
// Parameter order : index, elements. // Make sure we can get the parameters successfully.