function fem2d_mesh_display_test ( )

%*****************************************************************************80
%
%% fem2d_mesh_display_test() tests fem2d_mesh_display().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    03 May 2019
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../fem2d_mesh_display' )

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

  node_show = 1;
  element_show = 1;

  fem2d_mesh_display ( 'dragon', node_show, element_show );

  node_show = 0;
  element_show = 2;
  fem2d_mesh_display ( 'ell', node_show, element_show );

  node_show = 2;
  element_show = 0;
  fem2d_mesh_display ( 'hex', node_show, element_show );

  node_show = 1;
  element_show = 2;
  fem2d_mesh_display ( 'hole', node_show, element_show );

  node_show = 1;
  element_show = 3;
  fem2d_mesh_display ( 'q4', node_show, element_show );

  node_show = 1;
  element_show = 1;
  fem2d_mesh_display ( 'rect', node_show, element_show );

  node_show = 1;
  element_show = 1;
  fem2d_mesh_display ( 'square', node_show, element_show );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'fem2d_mesh_display_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

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

