src/mlpack/tests/ann_layer_test.cpp
BOOST_AUTO_TEST_CASE(AddLayerParametersTest)
{
  // Parameter : outSize.
  Add<> layer(7);

  // Make sure we can get the parameter successfully.
  BOOST_REQUIRE_EQUAL(layer.OutputSize(), 7);
}
/**
 * Test that the function that can access the outSize parameter of
 * the Add layer works.
 */
Test that the function that can access the outSize parameter of
the Add layer works.
Test that the function that can access the outSize parameter of the Add layer works .
BOOST_AUTO_TEST_CASE(AddLayerParametersTest)
{
  Add<> layer(7);
  BOOST_REQUIRE_EQUAL(layer.OutputSize(), 7);
}
BOOST_AUTO_TEST_CASE ( AddLayerParametersTest ) { Add < > layer ( 7 ) ; BOOST_REQUIRE_EQUAL ( layer . OutputSize ( ) , 7 ) ; }
Test that the function that can access the outSize parameter of
 the Add layer works.
Test that the function that can access the outSize parameter of the Add layer works .
// Parameter : outSize. // Make sure we can get the parameter successfully.