function ratmat_print_test ( )

%*****************************************************************************80
%
%% ratmat_print_test() tests ratmat_print().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    31 May 2015
%
%  Author:
%
%    John Burkardt
%
  m = 4;
  n = 3;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'ratmat_print_test():\n' );
  fprintf ( 1, '  ratmat_print() prints a rational matrix.\n' );
  fprintf ( 1, '\n' );
 
  for i = 1 : m
    for j = 1 : n
      a(i,j) = 1;
      b(i,j) = i + j;
    end
  end
 
  ratmat_print ( m, n, a, b, '  The Hilbert matrix:' );

  return
end
