function l4mat_print_test ( )

%*****************************************************************************80
%
%% L4MAT_PRINT_TEST tests L4MAT_PRINT.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    21 November 2015
%
%  Author:
%
%    John Burkardt
%
  m = 20;
  n = 50;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'L4MAT_PRINT_TEST\n' );
  fprintf ( 1, '  L4MAT_PRINT prints a logical matrix.\n' );

  a = zeros ( m, n );

  for i = 1 : m
    for j = 1 : n
      a(i,j) = ( mod ( i, j ) == 0 );
    end
  end

  l4mat_print ( m, n, a, '  A(I,J) = I is divisible by J' );

  return
end
