function polyomino_print_test ( )

%*****************************************************************************80
%
%% polyomino_print_test tests polyomino_print.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    30 April 2020
%
%  Author:
%
%    John Burkardt
%
  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'polyomino_print_test\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  polyomino_print prints a polyomino.\n' );
%
%  Define several polyominos.
%
  p = [ ...
    1, 1, 1, 1 ];
  [ mp, np ] = size ( p );
  polyomino_print ( mp, np, p, '  Polyomino #1:' );

  p = [ ...
    1, 1, 0; ...
    0, 1, 0; ...
    0, 1, 1 ]; 
  [ mp, np ] = size ( p );
  polyomino_print ( mp, np, p, '  Polyomino #2:' );

  p = [ ...
    1, 0, 0;
    1, 1, 1 ];
  [ mp, np ] = size ( p );
  polyomino_print ( mp, np, p, '  Polyomino #3:' );

  p = [ ...
    0, 0, 0, 0, 1, 0;
    1, 0, 0, 0, 1, 1;
    1, 0, 1, 1, 1, 0;
    1, 0, 1, 0, 1, 0;
    1, 1, 1, 1, 1, 0 ];
  [ mp, np ] = size ( p );
  polyomino_print ( mp, np, p, '  Polyomino #4:' );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'polyomino_print_test\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );
 
  return
