# sfepy.tests.test_quadratures module

sfepy.tests.test_quadratures.get_poly(order, dim, is_simplex=False)

  Construct a polynomial of given order in space dimension dim, and integrate it symbolically over a rectangular or simplex domain for coordinates in [0, 1].

sfepy.tests.test_quadratures.symarray(prefix, shape)

  Copied from SymPy so that the tests pass for its different versions.

sfepy.tests.test_quadratures.test_quadratures()

  Test if the quadratures have orders they claim to have, using symbolic integration by sympy.

sfepy.tests.test_quadratures.test_weight_consistency()

  Test if integral of 1 (= sum of weights) gives the domain volume.