function pariomino_equal_test ( )

%*****************************************************************************80
%
%% pariomino_equal_test tests pariomino_equal.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    09 May 2020
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'pariomino_equal_test\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  pariomino_equal() determines if pariominoes are equal.\n' );

  p1 = [ ...
    +1,  0, +1, -1;
    -1, +1, -1,  0;
     0, -1, +1,  0 ];
  pariomino_print ( p1, '  The pariomino P1:' );

  p2 = [ ...
    +1,  0, +1, -1;
    -1, +1, -1,  0;
     0, -1,  0,  0 ];
  pariomino_print ( p1, '  The pariomino P2:' );

  p3 = [ ...
    +1,  0, +1, -1,  0;
    -1, +1, -1,  0,  0;
     0, -1, +1,  0,  0 ];
  pariomino_print ( p3, '  The pariomino P3:' );

  p4 = [ ...
    +1,  0, +1, -1;
    -1, +1, -1,  0;
     0, -1, +1,  0 ];
  pariomino_print ( p4, '  The pariomino P4:' );

  fprintf ( 1, '\n' );
  value = pariomino_equal ( p1, p1 );
  fprintf ( 1, '  P1 == P1? %s\n', mat2str ( value ) );
  value = pariomino_equal ( p1, p2 );
  fprintf ( 1, '  P1 == P2? %s\n', mat2str ( value ) );
  value = pariomino_equal ( p1, p3 );
  fprintf ( 1, '  P1 == P3? %s\n', mat2str ( value ) );
  value = pariomino_equal ( p1, p4 );
  fprintf ( 1, '  P1 == P4? %s\n', mat2str ( value ) );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'pariomino_equal_test\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end
