function square_symq_rule_test ( )

%*****************************************************************************80
%
%% square_symq_rule_test tests square_symq_rule.
%
%  Licensing:
%
%    This code is distributed under the GNU GPL license.
%
%  Modified:
%
%    24 March 2019
%
%  Author:
%
%    Original FORTRAN77 version by Hong Xiao, Zydrunas Gimbutas.
%    This MATLAB version by John Burkardt.
%
%  Reference:
%
%    Hong Xiao, Zydrunas Gimbutas,
%    A numerical algorithm for the construction of efficient quadrature
%    rules in two and higher dimensions,
%    Computers and Mathematics with Applications,
%    Volume 59, 2010, pages 663-676.
%
  addpath ( '../square_symq_rule' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'square_symq_rule_test\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  Test square_symq_rule.\n' );

  degree = 8;
  n = rule_full_size ( degree );
  header = 'square08';

  square_symq_rule_test01 ( degree, n );

  square_symq_rule_test02 ( degree, n, header );

  square_symq_rule_test03 ( degree, n, header );

  square_symq_rule_test04 ( degree, n );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'square_symq_rule_testT\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../square_symq_rule' );

  return
end
