function bal_seq_enum_test ( )

%*****************************************************************************80
%
%% bal_seq_enum_test() tests bal_seq_enum().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    24 November 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'bal_seq_enum_test():\n' );
  fprintf ( 1, '  bal_seq_enum() enumerates balanced sequences of N terms.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '   N      #\n' );
  fprintf ( 1, '  \n' );

  for n = 0 : 10
    nseq = bal_seq_enum ( n );
    fprintf ( 1, '  %2d  %6d\n', n, nseq );
  end

  return
end
