function cellular_automaton_test ( )

%*****************************************************************************80
%
%% CELLULAR_AUTOMATON_TEST tests the CELLULAR_AUTOMATON library.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    15 December 2018
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../cellular_automaton' )

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'CELLULAR_AUTOMATON_TEST\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  Test the CELLULAR_AUTOMATON library.\n' );

  n = 75;
  step_num = 50;
  cellular_automaton ( n, step_num );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'CELLULAR_AUTOMATON_TEST\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../cellular_automaton' )

  return
end
