function i4vec_identity_row_test ( )

%*****************************************************************************80
%
%% I4VEC_IDENTITY_ROW_TEST tests I4VEC_IDENTITY_ROW.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    19 August 2018
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'I4VEC_IDENTITY_ROW_TEST\n' );
  fprintf ( 1, '  I4VEC_IDENTITY_ROW returns a row of the identity matrix.\n' );
  fprintf ( 1, '\n' );

  n = 5;
  for i = 0 : 6
    a = i4vec_identity_row ( n, i );
    fprintf ( 1, '%d: ', i );
    for j = 1 : n
      fprintf ( 1, ' %d', a(j) );
    end
    fprintf ( 1, '\n' );
  end

  return
end
