auxi.tools.materialphysicalproperties.polynomial_test module

This module contains all the code used to test the testee module.

class auxi.tools.materialphysicalproperties.polynomial_test.PolynomialModelTTester(methodName='runTest')

Bases: unittest.case.TestCase

The tester for the PolynomialModelT class.

test_calculate()

Test whether the property value is calculated successfully.

test_call()

Test whether the property value is calculated successfully via the __call__ magic method.

test_construct()

Test whether a model is constructed successfully.

test_create()

Test whether a model is created successfully from a data set.

test_plot()

Test whether the plots are created.

test_read()

Test whether a model is created successfully by loading it from a json file.

test_write()

Test whether a model is successfully written to a json file.