function digit_oct_to_ch_test ( )

%*****************************************************************************80
%
%% digit_oct_to_ch_test() tests digit_oct_to_ch().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    06 August 2023
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'digit_oct_to_ch_test():\n' );
  fprintf ( 1, '  digit_oct_to_ch() converts octal digit -> character.\n' );
  fprintf ( 1, '\n' );
 
  for i = -2 : 11
    c = digit_oct_to_ch ( i );
    i2 = ch_to_digit_oct ( c );
    fprintf ( 1, '  %8d  "%c"  %8d\n', i, c, i2 );
  end
 
  return
end
