function i4vec_unique_count_test (  )

%*****************************************************************************80
%
%% I4VEC_UNIQUE_COUNT_TEST tests I4VEC_UNIQUE_COUNT.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    09 March 2016
%
%  Author:
%
%    John Burkardt
%
  n = 20;
  b = 0;
  c = n;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'I4VEC_UNIQUE_COUNT_TEST\n' );
  fprintf ( 1, '  I4VEC_UNIQUE_COUNT counts unique entries in an I4VEC.\n' );

  seed = 123456789;

  [ a, seed ] = i4vec_uniform_ab ( n, b, c, seed );

  i4vec_print ( n, a, '  Input vector:' );

  a_unique = i4vec_unique_count ( n, a );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  Number of unique entries is %d\n', a_unique );

  return
end
