function luhn_test ( )

%*****************************************************************************80
%
%% luhn_test tests luhn.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license. 
%
%  Modified:
%
%    09 February 2019
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../luhn' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'luhn_test\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  Test luhn.\n' );

  ch_is_digit_test ( );
  ch_to_digit_test ( );
  s_digits_count_test ( );
  s_to_digits_test ( );
  luhn_check_digit_calculate_test ( );
  luhn_is_valid_test ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'luhn_test\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../luhn' );

  return
end