function grids_display_test ( )

%*****************************************************************************80
%
%% GRIDS_DISPLAY_TEST tests GRIDS_DISPLAY.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license. 
%
%  Modified:
%
%    25 January 2019
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../grids_display' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'GRIDS_DISPLAY_TEST:\n' );
  fprintf ( 1, '  MATLAB version.\n' );
  fprintf ( 1, '  Test GRIDS_DISPLAY.\n' );

  file1 = 'cc_d2_level4_x.txt';
  file2 = 'cc_d2_o17x1_x.txt';
  rmin = -1.0;
  rmax = +1.0;
  grids_display ( file1, file2, rmin, rmax );
  pause ( 5 );

  file1 = 'cc_d2_level4_x.txt';
  file2 = 'cc_d2_o9x3_x.txt';
  rmin = -1.0;
  rmax = +1.0;
  grids_display ( file1, file2, rmin, rmax );
  pause ( 5 );

  file1 = 'cc_d2_level4_x.txt';
  file2 = 'cc_d2_o5x5_x.txt';
  rmin = -1.0;
  rmax = +1.0;
  grids_display ( file1, file2, rmin, rmax );
  pause ( 5 );

  file1 = 'cc_d2_level4_x.txt';
  file2 = 'cc_d2_o3x9_x.txt';
  rmin = -1.0;
  rmax = +1.0;
  grids_display ( file1, file2, rmin, rmax );
  pause ( 5 );

  file1 = 'cc_d2_level4_x.txt';
  file2 = 'cc_d2_o1x17_x.txt';
  rmin = -1.0;
  rmax = +1.0;
  grids_display ( file1, file2, rmin, rmax );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'GRIDS_DISPLAY_TEST:\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../grids_display' );

  return
end
