function coin_uniform_test ( )

%*****************************************************************************80
%
%% COIN_UNIFORM_TEST tests COIN_UNIFORM.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    21 February 2016
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'COIN_UNIFORM_TEST\n' );
  fprintf ( 1, '  COIN_UNIFORM simulates the tossing of a fair coin N times.\n' );

  n = 100;
  seed = 123456789;
  v = coin_uniform ( n, seed );
  r8vec_print ( n, v, '  Coin toss results: -1=Tails, +1=Heads' );

  return
end