function tetrahedron_ncc_rule_test01 ( )

%*****************************************************************************80
%
%% tetrahedron_ncc_rule_test01() tests tetrahedron_ncc_rule_num(), tetrahedron_ncc_degree(), tetrahedron_ncc_order_num().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    30 January 2007
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'tetrahedron_ncc_rule_test01():\n' );
  fprintf ( 1, '  TETRAHEDRON_NCC_RULE_NUM returns the number of rules;\n' );
  fprintf ( 1, '  TETRAHEDRON_NCC_DEGREE returns the degree of a rule;\n' );
  fprintf ( 1, '  TETRAHEDRON_NCC_ORDER_NUM returns the order of a rule.\n' );

  rule_num = tetrahedron_ncc_rule_num ( 'DUMMY' );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  Number of available rules = %d\n', rule_num );
  fprintf ( 1, '\n' );
  fprintf ( 1, '      Rule    Degree     Order\n' );
  fprintf ( 1, '\n' );

  for rule = 1 : rule_num
    order_num = tetrahedron_ncc_order_num ( rule );
    degree = tetrahedron_ncc_degree ( rule );
    fprintf ( 1, '  %8d  %8d  %8d\n', rule, degree, order_num );
  end

  return
end
