function surten_values_test ( )

%*****************************************************************************80
%
%% surten_values_test() tests surten_values().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    01 February 2009
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'surten_values_test():\n' );
  fprintf ( 1, '  surten_values() stores values of \n' );
  fprintf ( 1, '  the surface tension of water \n' );
  fprintf ( 1, '  as a function of temperature.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '      T            SIGMA(T)\n' );
  fprintf ( 1, '\n' );

  n_data = 0;

  while ( true )

    [ n_data, tc, sigma ] = surten_values ( n_data );

    if ( n_data == 0 )
      break
    end

    fprintf ( 1, '  %12f  %24.16f\n', tc, sigma );

  end

  return
end
