function eigenfaces_test ( )

%*****************************************************************************80
%
%% eigenfaces_test() tests eigenfaces().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    03 December 2018
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../eigenfaces' );

  fprintf ( 1, '\n' );
  fprintf ( 1, 'eigenfaces_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  Test eigenfaces().\n' );

  imshow_numeric_test ( );
  pause ( 5 );

  line_count_test ( );

  pgm_display_test ( );
  pause ( 5 )

  pgm_read_test ( );
  pause ( 5 );

  pgms_pack_test ( );

  filelist = 's01_list.txt';
  n = 5;
  pc_vectors_test ( filelist, n );

  pgm_project_test ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'eigenfaces_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  rmpath ( '../eigenfaces' );

  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

