auxi.modelling.process.materials.slurry_test module

This module provides testing code for the psdslurrymaterial module.

@author: Ex Mente Technologies (Pty) Ltd

class auxi.modelling.process.materials.slurry_test.SlurryMaterialPackageUnitTester(methodName='runTest')

Bases: unittest.case.TestCase

setUp()
test___str__()
test_add_operator_1()

other = MaterialPackage Test whether the add operator calculates the resulting package correctly.

test_add_operator_3()

other = tuple (size_class, mass) Test whether the add operator calculates the resulting package correctly. Results were checked against FactSage results. They are not exactly the same, since the magnetic and other non-cp contributions are omitted by the thermo module.

test_clone()
test_constructor()
test_extract_1()
test_get_assay()
test_get_mass()
test_get_size_class_mass()
test_multiply_operator()
test_subtract_operator_2()
test_subtract_operator_3()
class auxi.modelling.process.materials.slurry_test.SlurryMaterialUnitTester(methodName='runTest')

Bases: unittest.case.TestCase

Tester for the auxi.modelling.process.materials.slurry.Material class.

setUp()
test_add_assay()
test_constructor()
test_create_empty_assay()
test_create_package()
test_get_assay_total()
test_get_size_class_index()