function i4vec2_print_test ( )

%*****************************************************************************80
%
%% i4vec2_print_test() tests i4vec2_print().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    25 October 2020
%
%  Author:
%
%    John Burkardt
%
  n = 10;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'i4vec2_print_test():\n' );
  fprintf ( 1, '  i4vec2_print prints a pair of I4VECs\n' );

  for i = 0 : n
    a(i+1) = ( i * ( i + 1 ) ) / 2;
    b(i+1) = ( i * ( i + 1 ) * ( 2 * i + 1 ) ) / 6;
  end

  i4vec2_print ( a, b, '  I, sum of I, sum of I^2:' );

  return
end
