function frobenius_number_order2_test ( )

%*****************************************************************************80
%
%% frobenius_number_order2_test() tests frobenius_number_order2().
%
%  Licensing:
%
%    This code is distributed under the MIT 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\n' );
  fprintf ( 1, '  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
