function i4_to_s_roman_test ( )

%*****************************************************************************80
%
%% i4_to_s_roman_test() tests i4_to_s_roman().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    06 August 2023
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'i4_to_s_roman_test():\n' );
  fprintf ( 1, '  i4_to_s_roman() prints an integer in Roman numerals.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  I4  Roman\n' );
  fprintf ( 1, '\n' );

  for test = 1 : 10

    i = randi ( [ 1, 1000 ], 1 );
    s = i4_to_s_roman ( i );
    fprintf ( 1, '  %3d  "%s"\n', i, s );

  end

  return
end
