function coin_uniform_test ( )

%*****************************************************************************80
%
%% coin_uniform_test() tests coin_uniform().
%
%  Licensing:
%
%    This code is distributed under the MIT 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;
  v = coin_uniform ( n );
  r8vec_print ( n, v, '  Coin toss results: -1=Tails, +1=Heads' );

  return
end
