src/mlpack/tests/ann_layer_test.cpp
BOOST_AUTO_TEST_CASE(VRClassRewardLayerParametersTest)
{
  // Parameter order : scale, sizeAverage.
  VRClassReward<> layer(2, false);

  // Make sure we can get the parameters successfully.
  BOOST_REQUIRE_EQUAL(layer.Scale(), 2);
  BOOST_REQUIRE_EQUAL(layer.SizeAverage(), false);
}
/**
 * Test that the function that can access the parameters of the
 * VR Class Reward layer works.
 */
Test that the function that can access the parameters of the
VR Class Reward layer works.
Test that the function that can access the parameters of the VR Class Reward layer works .
BOOST_AUTO_TEST_CASE(VRClassRewardLayerParametersTest)
{
  VRClassReward<> layer(2, false);
  BOOST_REQUIRE_EQUAL(layer.Scale(), 2);
  BOOST_REQUIRE_EQUAL(layer.SizeAverage(), false);
}
BOOST_AUTO_TEST_CASE ( VRClassRewardLayerParametersTest ) { VRClassReward < > layer ( 2 , false ) ; BOOST_REQUIRE_EQUAL ( layer . Scale ( ) , 2 ) ; BOOST_REQUIRE_EQUAL ( layer . SizeAverage ( ) , false ) ; }
Test that the function that can access the parameters of the
 VR Class Reward layer works.
Test that the function that can access the parameters of the VR Class Reward layer works .
// Parameter order : scale, sizeAverage. // Make sure we can get the parameters successfully.