function frobenius_number_order2_test ( )

%*****************************************************************************80
%
%% FROBENIUS_NUMBER_ORDER2_TEST tests FROBENIUS_NUMBER_ORDER2.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    14 February 2003
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'FROBENIUS_NUMBER_ORDER2_TEST\n' );
  fprintf ( 1, ...
    '  FROBENIUS_NUMBER_ORDER2 computes Frobenius numbers of order 2.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '        C1        C1   exact F  comput F\n' );
  fprintf ( 1, '\n' );

  n_data = 0;

  while ( true )

    [ n_data, c1, c2, f1 ] = frobenius_number_order2_values ( n_data );

    if ( n_data == 0 )
      break
    end

    f2 = frobenius_number_order2 ( c1, c2 );

    fprintf ( 1, '  %8d  %8d  %8d  %8d\n', c1, c2, f1, f2 );

  end

  return
end
