Helper tools for plugin tests.

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

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


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.


check_scene_element(instance[, mi_cls, ctx])

Perform kernel dictionary checks on a scene element.