function arccos_values_test ( )

%*****************************************************************************80
%
%% arccos_values_test() tests arccos_values().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%  Modified:
%
%    12 June 2007
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'arccos_values_test():\n' );
  fprintf ( 1, '  arccos_values() stores values of \n' );
  fprintf ( 1, '  the arc cosine function.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '      X           FX\n' );
  fprintf ( 1, '\n' );

  n_data = 0;

  while ( true )

    [ n_data, x, fx ] = arccos_values ( n_data );

    if ( n_data == 0 )
      break
    end

    fprintf ( 1, '  %12f  %24.16f\n', x, fx );

  end

  return
end
