function ch_to_military_test ( )

%*****************************************************************************80
%
%% ch_to_military_test() tests ch_to_military().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    06 August 2023
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'ch_to_military():\n' );
  fprintf ( 1, '  ch_to_military(): character -> Military code\n' );
  fprintf ( 1, '\n' );
 
  for ch = [ ...
    'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', ...
    'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', ...
    'U', 'V', 'W', 'X', 'Y', 'Z' ]
    code = ch_to_military ( ch );
    fprintf ( 1, '  "%s"  "%s"\n', ch, code );
  end
 
  return
end
