**triangle_ncc_rule_test**,
a MATLAB code which
calls triangle_ncc_rule(), which
defines the weights and abscisass for a sequence of
9 Newton-Cotes closed quadrature rules
over the interior of a triangle in 2D.

triangle_ncc_rule, a MATLAB code which defines Newton-Cotes Closed (NCC) quadrature rules over the interior of a triangle in 2D.

- triangle_ncc_rule_test.m, calls all the tests.
- triangle_ncc_rule_test.sh, runs all the tests.
- triangle_ncc_rule_test.txt, the output file.

- triangle_ncc_rule_test01.m, tests TRIANGLE_NCC_RULE_NUM, TRIANGLE_NCC_DEGREE, and TRIANGLE_NCC_ORDER_NUM.
- triangle_ncc_rule_test02.m, tests TRIANGLE_NCC_RULE by summing the weights.
- triangle_ncc_rule_test03.m, tests TRIANGLE_NCC_RULE by summing the barycentric coordinates.
- triangle_ncc_rule_test04.m, tests TRIANGLE_NCC_ORDER by integrating monomials in the unit triangle.
- triangle_ncc_rule_test05.m, tests REFERENCE_TO_PHYSICAL_T3 by transforming an NCC rule from the unit triangle to another triangle.