function circle_grid_display_test ( )

%*****************************************************************************80
%
%% circle_grid_display_test() tests circle_grid_display().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 December 2018
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../circle_grid_display' )

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'CIRCLE_GRID_DISPLAY_TEST\n' );
  fprintf ( 1, '  MATLAB/Octave version %s.\n', version ( ) );
  fprintf ( 1, '  Test CIRCLE_GRID_DISPLAY.\n' );

  circle_grid_display ( 'life_000.txt' );
  pause ( 2 );
  circle_grid_display ( 'life_001.txt' );
  pause ( 2 );
  circle_grid_display ( 'life_002.txt' );
  pause ( 2 );
  circle_grid_display ( 'life_003.txt' );
  pause ( 2 );
  circle_grid_display ( 'life_004.txt' );
  pause ( 2 );
  circle_grid_display ( 'life_005.txt' );
  pause ( 2 );
  circle_grid_display ( 'life_006.txt' );
  pause ( 2 );
  circle_grid_display ( 'life_007.txt' );
  pause ( 2 );
  circle_grid_display ( 'life_008.txt' );
  pause ( 2 );
  circle_grid_display ( 'life_009.txt' );
  pause ( 2 );
  circle_grid_display ( 'life_010.txt' );
  pause ( 2 );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'CIRCLE_GRID_DISPLAY_TEST\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../circle_grid_display' )

  return
end
function timestamp ( )

%*****************************************************************************80
%
%% timestamp() prints the current YMDHMS date as a timestamp.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 February 2003
%
%  Author:
%
%    John Burkardt
%
  t = now;
  c = datevec ( t );
  s = datestr ( c, 0 );
  fprintf ( 1, '%s\n', s );

  return
end

