chempots#

Created on Wed Jun 14 15:28:02 2023

@author: villa

Classes

ChempotsTest([methodName])

Provides methods to test Chempots objects

ReservoirsTest([methodName])

Provides methods to test Reservoirs objects

class ChempotsTest(methodName='runTest')[source]#

Bases: DefermiTest

Provides methods to test Chempots objects

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

assert_Chempots_equal(chempots1, chempots2, **kwargs)[source]#

Both Chempots or dictionary objects are allowed as input

class ReservoirsTest(methodName='runTest')[source]#

Bases: ChempotsTest

Provides methods to test Reservoirs objects

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

assert_Reservoirs_equal(reservoirs1, reservoirs2, check_reference=True, **kwargs)[source]#

Reservoirs dictionary, reference chempots and are_chempots_delta are checked. Set check_reference to False to check only reservoirs dictionary.