src/mlpack/tests/ann_layer_test.cpp
BOOST_AUTO_TEST_CASE(HighwayLayerParametersTest)
{
  // Parameter order : inSize, model.
  Highway<> layer(1, true);

  // Make sure we can get the parameter successfully.
  BOOST_REQUIRE_EQUAL(layer.InSize(), 1);
}
/**
 * Test that the function that can access the inSize parameter of the
 * Highway layer works.
 */
Test that the function that can access the inSize parameter of the
Highway layer works.
Test that the function that can access the inSize parameter of the Highway layer works .
BOOST_AUTO_TEST_CASE(HighwayLayerParametersTest)
{
  Highway<> layer(1, true);
  BOOST_REQUIRE_EQUAL(layer.InSize(), 1);
}
BOOST_AUTO_TEST_CASE ( HighwayLayerParametersTest ) { Highway < > layer ( 1 , true ) ; BOOST_REQUIRE_EQUAL ( layer . InSize ( ) , 1 ) ; }
Test that the function that can access the inSize parameter of the
 Highway layer works.
Test that the function that can access the inSize parameter of the Highway layer works .
// Parameter order : inSize, model. // Make sure we can get the parameter successfully.