function pariomino_reverse_test ( )

%*****************************************************************************80
%
%% pariomino_reverse_test tests pariomino_reverse.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    09 May 2020
%
%  Author:
%
%    John Burkardt
%
  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'pariomino_reverse_test\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  pariomino_reverse() reverses the parity of the cells\n' );
  fprintf ( 1, '  of a pariomino.\n');

  p1 = [ ...
     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 ];
  pariomino_print ( p1, '  pariomino:' );

  p2 = pariomino_reverse ( p1 );
  pariomino_print ( p2, '  reverse parity pariomino:' );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'pariomino_reverse_test\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );
 
  return
end

