function ch_is_isbn_digit_test ( )

%*****************************************************************************80
%
%% CH_IS_ISBN_DIGIT_TEST tests CH_IS_ISBN_DIGIT.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    15 September 2015
%
%  Author:
%
%    John Burkardt
%
  c_test = [ ...
    '0', '1', '2', '3', '4', ...
    '5', '6', '7', '8', '9', ...
    'X', 'x', 'Y', '?', '*', ...
    ' ' ];

  fprintf ( 1, '\n' );
  fprintf ( 1, 'CH_IS_ISBN_DIGIT_TEST\n' );
  fprintf ( 1, '  CH_IS_ISBN_DIGIT is TRUE if a character represents\n' );
  fprintf ( 1, '  an ISBN digit.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '   C      CH_IS_ISBN_DIGIT(C)\n' );
  fprintf ( 1, '\n' );

  for i = 1 : 16
    c = c_test(i);
    value = ch_is_isbn_digit ( c );
    fprintf ( 1, '  "%c"            %d\n', c, value );
  end

  return
end
