function digits_sexagesimal_print_test ( )

%*****************************************************************************80
%
%% digits_sexagesimal_print_test() tests digits_sexagesimal_print().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    21 June 2022
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'digits_sexagesimal_print_test():\n' );
  fprintf ( 1, '  digits_sexagesimal_print() prints a real number \n' );
  fprintf ( 1, '  as a sexagesimal quantity;\n' );

  d = [ 11, 12, 0, 14, 15 ]; 
  fprintf ( 1, '  Sexagesimal digit vector:' );
  disp ( d );

  for p = -5 : 5

    fprintf ( 1, '  p = %2d:  ', p );
    digits_sexagesimal_print ( d, p );

  end

  return
end
