function tribonacci_direct_test ( )

%*****************************************************************************80
%
%% tribonacci_direct_test() tests tribonacci_direct().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    09 May 2021
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'tribonacci_direct_test():\n' );
  fprintf ( 1, '  tribonacci_direct() computes the Tribonacci sequence.\n' );
  fprintf ( 1, '\n' );
  
  n = 20;
  for i = 1 : n
    t = tribonacci_direct ( i );
    fprintf ( 1, '  %4d  %8d\n', i, t );
  end

  return
end
