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

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