function polyomino_reflect_test ( )

%*****************************************************************************80
%
%% polyomino_reflect_test() tests polyomino_reflect().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 October 2020
%
%  Author:
%
%    John Burkardt
%
%  Local:
%
%    Input, integer M, N, the number of rows and columns in the representation
%    of the polyomino P.
%
%    Input, integer P(M,N), a matrix of 0's and 1's representing the 
%    polyomino.  The matrix should be "tight", that is, there should be a
%    1 in row 1, and in column 1, and in row M, and in column N.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'polyomino_reflect_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  polyomino_reflect reflecs a polyomino about the vertical axis.\n' );

  m = 3;
  n = 3;
  p = [ 0, 1, 1; 1, 1, 0; 0, 1, 0 ];

  polyomino_print ( p, '  The given polyomino P:' );

  [ mq, nq, q ] = polyomino_reflect ( m, n, p );

  polyomino_print ( q, '  The reflected polyomino Q' );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'polyomino_reflect_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end
