orsopy.fileio.tests.test_model_language module

Tests for fileio.model_language module

class orsopy.fileio.tests.test_model_language.TestMaterial(methodName='runTest')[source]

Bases: TestCase

test_empty()[source]
test_values()[source]
test_default()[source]
test_density_lookup_elements()[source]
test_relative_density()[source]
test_sld()[source]
test_to_yaml()[source]
class orsopy.fileio.tests.test_model_language.TestComposit(methodName='runTest')[source]

Bases: TestCase

test_wrong_value()[source]
test_resolution()[source]
test_defaults()[source]
test_density_lookup_elements()[source]
test_to_yaml()[source]
class orsopy.fileio.tests.test_model_language.TestLayer(methodName='runTest')[source]

Bases: TestCase

test_empty()[source]
test_resolution()[source]
test_defaults()[source]
test_material_mixing()[source]
class orsopy.fileio.tests.test_model_language.TestSubStack(methodName='runTest')[source]

Bases: TestCase

test_empty()[source]
test_resolution()[source]
test_defaults()[source]
test_resolve_layers()[source]
class orsopy.fileio.tests.test_model_language.TestSampleModel(methodName='runTest')[source]

Bases: TestCase

test_resolvable_items()[source]
test_duplicate_name()[source]
test_space_in_name()[source]
test_name_is_formula()[source]
test_resolve_stack()[source]
test_resolve_direct_name()[source]
test_resolve_dbID()[source]
test_resolve_function2e()[source]
test_resolve_item_changer()[source]
test_resolve_element_material_name()[source]
test_resolve_to_blocks()[source]
test_resolve_to_layers()[source]