eradiate.test_tools#

eradiate.test_tools.plugin#

Helper tools for plugin tests.

sample_eval_pdf_bsdf(plugin, wi[, ...])

Sample a BSDF and get corresponding eval() and pdf() values.

eradiate.test_tools.regression#

RegressionTest(name, value[, reference])

Common interface for tests based on the comparison of a result array against reference values.

RMSETest(name, value[, reference])

This class implements a simple test based on the root mean squared error (RMSE) of a result array with respect to the reference data.

Chi2Test(name, value[, reference])

This class implements a statistical test for the regression testing campaign, based on Pearson's Chi-squared test.

eradiate.test_tools.types#

check_scene_element(instance[, mi_cls, ctx, ...])

Perform kernel dictionary checks on a scene element.