function polyomino_display_test ( )

%*****************************************************************************80
%
%% polyomino_display_test() tests polyomino_display().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    20 June 2021
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'polyomino_display_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  polyomino_display() displays a polyomino.\n' );

  p = [ ...
    1, 1, 1, 1; ...
    1, 0, 1, 1; ...
    1, 0, 0, 1; ...
    1, 1, 1, 1; ...
    0, 0, 1, 0 ];

  label = 'Polyomino with a hole';

  polyomino_display ( p, label, 'polyomino_display.png' );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'polyomino_display_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end

