materials.material_test module

Unit tests for Material.

class materials.material_test.TestBuildProperties(methodName='runTest')[source]

Bases: unittest.case.TestCase

Unit tests for build_properties.

test_build_properties_1d_table()[source]

Test the build properties function with a 1d lookup table.

test_build_properties_simple()[source]

Test the build properties function with a simple property.

class materials.material_test.TestLoadFromYaml(methodName='runTest')[source]

Bases: unittest.case.TestCase

Unit tests for load_from_yaml.

test_al6061_T6_extruded()[source]
class materials.material_test.TestMaterial(methodName='runTest')[source]

Bases: unittest.case.TestCase

Unit tests for Material class.

test_getitem()[source]

Unit test for __getitem__

test_init()[source]