function is_prime_values_test ( )

%*****************************************************************************80
%
%% is_prime_values_test() tests is_prime_values().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    27 December 2022
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'is_prime_values_test():\n' );
  fprintf ( 1, '  is_prime_values() returns values of the is_prime() function.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '           n          is_prime(n)\n' );
  fprintf ( 1, '\n' );

  n_data = 0;

  while ( true )

    [ n_data, n, tf ] = is_prime_values ( n_data );

    if ( n_data == 0 )
      break;
    end

    fprintf ( 1, '%12d  %s\n', n, string ( tf ) );

  end

  return
end
