function monte_carlo_rule_test ( )

%*****************************************************************************80
%
%% monte_carlo_rule_test tests monte_carlo_rule.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    21 February 2019
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../monte_carlo_rule' )

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'monte_carlo_rule_test:\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  Test monte_carlo_rule.\n' );

  m = 3;
  n = 100;
  seed = 123456789;
  monte_carlo_rule ( m, n, seed );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'monte_carlo_rule_test:\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../monte_carlo_rule' )

  return
end
