function pentomino_print_test ( )

%*****************************************************************************80
%
%% PENTOMINO_PRINT_TEST tests PENTOMINO_PRINT.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    11 June 2018
%
%  Author:
%
%    John Burkardt
%
  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'PENTOMINO_PRINT_TEST\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  PENTOMINO_PRINT prints a pentomino.\n' );
 
  name = 'F';
  p = pentomino_matrix ( name );
  [ m, n ] = size ( p );
  label = sprintf ( '  %s pentomino (%d,%d):', name, m, n );
  pentomino_print ( m, n, p, label );

  name = 'U';
  p = pentomino_matrix ( name );
  [ m, n ] = size ( p );
  label = sprintf ( '  %s pentomino (%d,%d):', name, m, n );
  pentomino_print ( m, n, p, label );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'PENTOMINO_PRINT_TEST\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  timestamp ( );

  return
end
