src/mlpack/tests/ann_layer_test.cpp
BOOST_AUTO_TEST_CASE(LookupLayerParametersTest)
{
  // Parameter order : inSize, outSize.
  Lookup<> layer(5, 7);

  // Make sure we can get the parameters successfully.
  BOOST_REQUIRE_EQUAL(layer.InSize(), 5);
  BOOST_REQUIRE_EQUAL(layer.OutSize(), 7);
}
/**
 * Test that the functions that can access the parameters of the
 * Lookup layer work.
 */
Test that the functions that can access the parameters of the
Lookup layer work.
Test that the functions that can access the parameters of the Lookup layer work .
BOOST_AUTO_TEST_CASE(LookupLayerParametersTest)
{
  Lookup<> layer(5, 7);
  BOOST_REQUIRE_EQUAL(layer.InSize(), 5);
  BOOST_REQUIRE_EQUAL(layer.OutSize(), 7);
}
BOOST_AUTO_TEST_CASE ( LookupLayerParametersTest ) { Lookup < > layer ( 5 , 7 ) ; BOOST_REQUIRE_EQUAL ( layer . InSize ( ) , 5 ) ; BOOST_REQUIRE_EQUAL ( layer . OutSize ( ) , 7 ) ; }
Test that the functions that can access the parameters of the
 Lookup layer work.
Test that the functions that can access the parameters of the Lookup layer work .
// Parameter order : inSize, outSize. // Make sure we can get the parameters successfully.