function domino_tiling_num_test ( )

%*****************************************************************************80
%
%% DOMINO_TILING_NUM_TEST tests DOMINO_TILING_NUM.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    19 June 2018
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '' );
  timestamp ( );
  fprintf ( 1, 'DOMINO_TILING_NUM_TEST:\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  DOMINO_TILING_NUM returns the number of tilings of an\n' );
  fprintf ( 1, '  MxN rectangle by dominoes.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '   M   N    Tilings\n' );

  for m = 1 : 8
    fprintf ( 1, '\n' );
    for n = 1 : m
      value = domino_tiling_num ( m, n );
      fprintf ( '  %d  %d  %d\n', m, n, value );
    end
  end

  fprintf ( 1, '\n' );
  fprintf ( 1, 'DOMINO_TILING_NUM_TEST:\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  timestamp ( );

  return
end
