function variominoes_print_test ( )

%*****************************************************************************80
%
%% variominoes_print_test() tests variominoes_print().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    20 April 2023
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'variominoes_print_test():\n' );
  fprintf ( 1, '  variominoes_print() prints an array of variominoes.\n' );
%
%  Define several variominos.
%
  p1 = [ ...
     1,  2,  3,  1 ];
  [ mp1, np1 ] = size ( p1 );

  p2 = [ ...
     3,  1,  0; ...
     0,  3,  0; ...
     0,  2,  3 ]; 
  [ mp2, np2 ] = size ( p2 );

  p3 = [ ...
     2,  0,  0;
     1,  2,  3 ];
  [ mp3, np3 ] = size ( p3 );
%
%  Pack the variominoes into a single array.
%
  mp = 3;
  np = 5;
  p_num = 3;

  p = zeros ( 3, 5, p_num );
 
  p(1:mp1,1:np1,1) = p1(1:mp1,1:np1);
  p(1:mp2,1:np2,2) = p2(1:mp2,1:np2);
  p(1:mp3,1:np3,3) = p3(1:mp3,1:np3);
%
%  Print the array of variominoes.
%
  label = '  Array of variominoes to be analyzed:';
  variominoes_print ( mp, np, p_num, p, label );

  return
end

