function ply_to_tri_surface_test ( )

%*****************************************************************************80
%
%% ply_to_tri_surface_test() tests ply_to_tri_surface().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    28 September 2008
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../ply_to_tri_surface' );

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

  ply_file_name = 'sphere.ply';
  ply_to_tri_surface_test01 ( ply_file_name );

  ply_file_name = 'cube.ply';
  ply_to_tri_surface_test02 ( ply_file_name );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'ply_to_tri_surface_test()::\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../ply_to_tri_surface' );

  return
end
function timestamp ( )

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

  return
end

