function vibonacci_test ( )

%*****************************************************************************80
%
%% vibonacci_test() tests vibonacci().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    19 October 2008
%
%  Author:
%
%    John Burkardt
%
  n = 20;
  n_time = 3;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'vibonacci_test():\n' );
  fprintf ( 1, '  vibonacci() computes a Vibonacci sequence.\n' );
  fprintf ( 1, '  Number of times we compute the series: %d\n', n_time );
  fprintf ( 1, '\n' );

  for j = 1 : n_time
    temp = vibonacci ( n );
    v(1:n,j) = temp'; 
  end

  for i = 1 : n
    fprintf ( 1, '  %6d', i );
    for j = 1 : n_time
      fprintf ( 1, '  %6d', v(i,j) );
    end
    fprintf ( 1, '\n' );
  end

  return
end
