function splitting_monohedral_matrix_test ( )

%*****************************************************************************80
%
%% splitting_monohedral_matrix_test() tests splitting_monohedral_matrix().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    13 February 2023
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'splitting_monohedral_matrix_test():\n' );
  fprintf ( 1, '  splitting_monohedral_matrix() constructs the linear system\n' );
  fprintf ( 1, '    A*x=b\n' );
  fprintf ( 1, '  associated with the problem of tiling a region R with\n' );
  fprintf ( 1, '  copies of a polyomino P, with C colors.\n' );

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

  P = [ 1, 1 ];

  C = 2;

  [ A, b ] = splitting_monohedral_matrix ( R, P, C );

  fprintf ( '\n' )
  fprintf ( '  Linear system A|b:\n' );
  disp ( [ A, b ] )
%
%  Terminate.
%
  fprintf ( 1, 'splitting_monohedral_matrix_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end

