function polyomino_periodic_matrix_test ( )

%*****************************************************************************80
%
%% polyomino_periodic_matrix_test() tests polyomino_periodic_matrix().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    09 December 2018
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'polyomino_periodic_matrix_test():\n' );
  fprintf ( 1, '  polyomino_periodic_matrix() sets up the matrix for a\n' );
  fprintf ( 1, '  periodic polyomino tiling problem.\n' );

  r = [ ...
    1, 1, 1, 1, 1; ...
    1, 1, 1, 1, 1; ...
    1, 1, 1, 1, 1; ...
    1, 1, 1, 1, 1; ...
    1, 1, 1, 1, 1 ];

  p_num = 1;

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

  d = [ 5 ];

  [ a, b, var_p ] = polyomino_periodic_matrix ( r, p_num, p, d );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'polyomino_periodic_matrix_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end

