function grid_display_test ( )

%*****************************************************************************80
%
%% grid_display_test() tests grid_display().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    25 January 2019
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../grid_display' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'grid_display_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  Test grid_display().\n' );

  grid_display ( 'hermite_o7_x.txt', -5, +5 );
  grid_display ( 'f2_d2_level5_x.txt', -1, +1 );
  grid_display ( 'ncc_d3_level3_x.txt', 0, +1 );
  grid_display ( 'cc_d3_level2_x.txt', -1, +1 );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'grid_display_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../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

