function i4_to_isbn_digit_test ( )

%*****************************************************************************80
%
%% i4_to_isbn_digit_test() tests i4_to_isbn_digit().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    16 September 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'i4_to_isbn_digit_test():\n' );
  fprintf ( 1, '  i4_to_isbn_digit() converts digits 0 to 10 to an ISBN digit.\n' );
  fprintf ( 1, '\n' );

  for i4 = 0 : 10
    c = i4_to_isbn_digit ( i4 );
    fprintf ( 1, '  %8d     %d\n', i4, c );
  end

  return
end
