function variomino_embed_number_test ( )

%*****************************************************************************80
%
%% variomino_embed_number_test() tests variomino_embed_number().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    19 April 2023
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'variomino_embed_number_test():\n' );
  fprintf ( 1, '  variomino_embed_number() reports the number of ways a\n' );
  fprintf ( 1, '  fixed variomino can be embedded in a region.\n' );

  r = [ ...
     0,  2,  3,  1; 
     3,  1,  0,  3;
     2,  3,  1,  2; 
     1,  0,  3,  1 ];

  variomino_print ( r, '  Region R:' );

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

  variomino_print ( p, '  variomino P:' );

  number = variomino_embed_number ( r, p );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  P can be embedded in R in %d ways\n', number );

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

  variomino_print ( p, '  variomino P:' );

  number = variomino_embed_number ( r, p );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  P can be embedded in R in %d ways\n', number );

  return
end
