function r8_sign_match_test ( )

%*****************************************************************************80
%
%% r8_sign_match_test() tests r8_sign_match().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    31 July 2018
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8_SIGN_MATCH_TEST\n' );
  fprintf ( 1, '  R8_SIGN_MATCH returns TRUE if two R8''s have matching sign.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '        R1        R2  R8_SIGN_MATCH(R1,R2)\n' );
  fprintf ( 1, '\n' );

  for r1 = -1 : +1
    for r2 = -1 : +1
      value = r8_sign_match ( r1, r2 );
      fprintf ( 1, '  %8.2f  %8.2f  %d\n', r1, r2, value );
    end
  end

  return
end
