function wright_omega_values_test ( )

%*****************************************************************************80
%
%% wright_omega_values_test() tests wright_omega_values().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    15 April 2016
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'wright_omega_values_test():\n' );
  fprintf ( 1, '  wright_omega_values() stores values of \n' );
  fprintf ( 1, '  the Wright Omega function.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '      Z           FZ\n' );
  fprintf ( 1, '\n' );

  n_data = 0;

  while ( true )

    [ n_data, z, fz ] = wright_omega_values ( n_data );

    if ( n_data == 0 )
      break
    end

    fprintf ( 1, '  %12g  %12g  %24.16g  %24.16g\n', ...
      real ( z ), imag ( z ), real ( fz ), imag ( fz ));

  end

  return
end
