#include <CommonDataModelTest.h>
Inherits SETestManager.
Public Member Functions | |
CommonDataModelTest (Logger *logger=nullptr) | |
virtual | ~CommonDataModelTest () |
virtual bool | RunTest (const std::string &testName, const std::string &sOutputDirectory) override |
void | BasicCircuitTest (const std::string &sOutputDirectory) |
Runs the basic circuit unit test. More... | |
void | MultiphysicsElectricalCircuitTest (const std::string &sOutputDirectory) |
void | MultiphysicsFluidCircuitTest (const std::string &sOutputDirectory) |
void | MultiphysicsThermalCircuitTest (const std::string &sOutputDirectory) |
void | SeriesRCDCTest (const std::string &sOutputDirectory) |
void | SeriesRCSINTest (const std::string &sOutputDirectory) |
void | SeriesRCPULSETest (const std::string &sOutputDirectory) |
void | SeriesRDCTest (const std::string &sOutputDirectory) |
void | SeriesRSINTest (const std::string &sOutputDirectory) |
void | SeriesRPULSETest (const std::string &sOutputDirectory) |
void | SeriesRLDCTest (const std::string &sOutputDirectory) |
void | SeriesRLSINTest (const std::string &sOutputDirectory) |
void | SeriesRLPULSETest (const std::string &sOutputDirectory) |
void | ParallelRDCTest (const std::string &sOutputDirectory) |
void | ParallelRSINTest (const std::string &sOutputDirectory) |
void | ParallelRPULSETest (const std::string &sOutputDirectory) |
void | ParallelRCDCTest (const std::string &sOutputDirectory) |
void | ParallelRCSINTest (const std::string &sOutputDirectory) |
void | ParallelRCPULSETest (const std::string &sOutputDirectory) |
void | ParallelRLDCTest (const std::string &sOutputDirectory) |
void | ParallelRLSINTest (const std::string &sOutputDirectory) |
void | ParallelRLPULSETest (const std::string &sOutputDirectory) |
void | ParallelRLSINCenteredTest (const std::string &sOutputDirectory) |
void | SeriesRLCDCTest (const std::string &sOutputDirectory) |
void | SeriesRLCSINTest (const std::string &sOutputDirectory) |
void | SeriesRLCPULSETest (const std::string &sOutputDirectory) |
void | ParallelRLCDCTest (const std::string &sOutputDirectory) |
void | ParallelRLCSINTest (const std::string &sOutputDirectory) |
void | ParallelRLCPULSETest (const std::string &sOutputDirectory) |
void | SwitchRCDCTest (const std::string &sOutputDirectory) |
void | SwitchRCSINTest (const std::string &sOutputDirectory) |
void | SwitchRCPULSETest (const std::string &sOutputDirectory) |
void | Comprehensive1DCTest (const std::string &sOutputDirectory) |
void | Comprehensive1SINTest (const std::string &sOutputDirectory) |
void | Comprehensive1PULSETest (const std::string &sOutputDirectory) |
void | SimpleDiodeDCTest (const std::string &sOutputDirectory) |
void | SimpleDiodeSINTest (const std::string &sOutputDirectory) |
void | SimpleDiodePULSETest (const std::string &sOutputDirectory) |
void | SeriesRCDCCurrentTest (const std::string &sOutputDirectory) |
void | SeriesRCSINCurrentTest (const std::string &sOutputDirectory) |
void | SeriesRCPULSECurrentTest (const std::string &sOutputDirectory) |
void | ParallelRCDCCurrentTest (const std::string &sOutputDirectory) |
void | ParallelRCSINCurrentTest (const std::string &sOutputDirectory) |
void | ParallelRCPULSECurrentTest (const std::string &sOutputDirectory) |
void | SeriesCapDCTest (const std::string &sOutputDirectory) |
void | SeriesCapSINTest (const std::string &sOutputDirectory) |
void | SeriesCapPULSETest (const std::string &sOutputDirectory) |
void | ParallelRDCCurrentTest (const std::string &sOutputDirectory) |
void | ParallelRSINCurrentTest (const std::string &sOutputDirectory) |
void | ParallelRPULSECurrentTest (const std::string &sOutputDirectory) |
void | CurrentCompDCTest (const std::string &sOutputDirectory) |
void | CurrentCompSINTest (const std::string &sOutputDirectory) |
void | CurrentCompPULSETest (const std::string &sOutputDirectory) |
void | SeriesRLDCCurrentTest (const std::string &sOutputDirectory) |
void | SeriesRLSINCurrentTest (const std::string &sOutputDirectory) |
void | SeriesRLPULSECurrentTest (const std::string &sOutputDirectory) |
void | ParallelRLDCCurrentTest (const std::string &sOutputDirectory) |
void | ParallelRLSINCurrentTest (const std::string &sOutputDirectory) |
void | ParallelRLPULSECurrentTest (const std::string &sOutputDirectory) |
void | BasicDiodeDCCurrentTest (const std::string &sOutputDirectory) |
void | BasicDiodeSINCurrentTest (const std::string &sOutputDirectory) |
void | BasicDiodePULSECurrentTest (const std::string &sOutputDirectory) |
void | SwitchRCDCCurrentTest (const std::string &sOutputDirectory) |
void | SwitchRCSINCurrentTest (const std::string &sOutputDirectory) |
void | SwitchRCPULSECurrentTest (const std::string &sOutputDirectory) |
void | SeriesRLCDCCurrentTest (const std::string &sOutputDirectory) |
void | SeriesRLCSINCurrentTest (const std::string &sOutputDirectory) |
void | SeriesRLCPULSECurrentTest (const std::string &sOutputDirectory) |
void | ParallelRLCDCCurrentTest (const std::string &sOutputDirectory) |
void | ParallelRLCSINCurrentTest (const std::string &sOutputDirectory) |
void | ParallelRLCPULSECurrentTest (const std::string &sOutputDirectory) |
void | SeriesPressureSourceAdditionDCTest (const std::string &sOutputDirectory) |
void | SeriesPressureSourceAdditionSINTest (const std::string &sOutputDirectory) |
void | SeriesPressureSourceAdditionPULSETest (const std::string &sOutputDirectory) |
void | SeriesCurrentSourceAdditionDCTest (const std::string &sOutputDirectory) |
void | SeriesCurrentSourceAdditionSINTest (const std::string &sOutputDirectory) |
void | SeriesCurrentSourceAdditionPULSETest (const std::string &sOutputDirectory) |
void | ParallelPressureSourceAdditionDCTest (const std::string &sOutputDirectory) |
void | ParallelPressureSourceAdditionSINTest (const std::string &sOutputDirectory) |
void | ParallelPressureSourceAdditionPULSETest (const std::string &sOutputDirectory) |
void | ParallelCurrentSourceAdditionDCTest (const std::string &sOutputDirectory) |
void | ParallelCurrentSourceAdditionSINTest (const std::string &sOutputDirectory) |
void | ParallelCurrentSourceAdditionPULSETest (const std::string &sOutputDirectory) |
void | SeriesCapDCCurrentTest (const std::string &sOutputDirectory) |
void | SeriesCapSINCurrentTest (const std::string &sOutputDirectory) |
void | SeriesCapPULSECurrentTest (const std::string &sOutputDirectory) |
void | ParallelCapDCTest (const std::string &sOutputDirectory) |
void | ParallelCapSINTest (const std::string &sOutputDirectory) |
void | ParallelCapPULSETest (const std::string &sOutputDirectory) |
void | ParallelCapDCCurrentTest (const std::string &sOutputDirectory) |
void | ParallelCapSINCurrentTest (const std::string &sOutputDirectory) |
void | ParallelCapPULSECurrentTest (const std::string &sOutputDirectory) |
void | SeriesIndDCTest (const std::string &sOutputDirectory) |
void | SeriesIndSINTest (const std::string &sOutputDirectory) |
void | SeriesIndPULSETest (const std::string &sOutputDirectory) |
void | SeriesIndDCCurrentTest (const std::string &sOutputDirectory) |
void | SeriesIndSINCurrentTest (const std::string &sOutputDirectory) |
void | SeriesIndPULSECurrentTest (const std::string &sOutputDirectory) |
void | ParallelIndDCTest (const std::string &sOutputDirectory) |
void | ParallelIndSINTest (const std::string &sOutputDirectory) |
void | ParallelIndPULSETest (const std::string &sOutputDirectory) |
void | ParallelIndDCCurrentTest (const std::string &sOutputDirectory) |
void | ParallelIndSINCurrentTest (const std::string &sOutputDirectory) |
void | ParallelIndPULSECurrentTest (const std::string &sOutputDirectory) |
void | BadDiodeDCTest (const std::string &sOutputDirectory) |
void | BadDiodeSINTest (const std::string &sOutputDirectory) |
void | BadDiodePULSETest (const std::string &sOutputDirectory) |
void | ValidationComprehensive1DCTest (const std::string &sOutputDirectory) |
void | ValidationComprehensive1SINTest (const std::string &sOutputDirectory) |
void | ValidationComprehensive1PULSETest (const std::string &sOutputDirectory) |
void | ValidationComprehensive1SINCenteredTest (const std::string &sOutputDirectory) |
void | ValidationComprehensive2DCTest (const std::string &sOutputDirectory) |
void | ValidationComprehensive2SINTest (const std::string &sOutputDirectory) |
void | ValidationComprehensive2PULSETest (const std::string &sOutputDirectory) |
void | ValidationComprehensive2SINCenteredTest (const std::string &sOutputDirectory) |
void | ElectricalCircuitTest (const std::string &sOutputDirectory) |
void | FluidCircuitTest (const std::string &sOutputDirectory) |
void | ThermalCircuitTest (const std::string &sOutputDirectory) |
void | CombinedCircuitTest (const std::string &sOutputDirectory) |
Tests the combined circuit methodology. More... | |
void | CircuitErrorTest (const std::string &sOutputDirectory) |
Tests the circuit errors. More... | |
void | DynamicallyChangingCircuitTest (const std::string &sOutputDirectory) |
Tests to ensure circuits can be changed dynamically. More... | |
void | NonZeroReferencePositive (const std::string &sOutputDirectory) |
Tests the non-zero reference circuit methodology. More... | |
void | NonZeroReferenceNegative (const std::string &sOutputDirectory) |
Tests the non-zero reference circuit methodology. More... | |
void | PolarizedCapacitorTest (const std::string &sOutputDirectory) |
Tests the polarized element methodology. More... | |
void | PreChargeComplianceZeroVolume (const std::string &sOutputDirectory) |
void | PreChargeComplianceNonZeroVolume (const std::string &sOutputDirectory) |
void | ComplianceVolumeChange (const std::string &sOutputDirectory) |
void | CircuitLockingTest (const std::string &sOutputDirectory) |
void | GasCompartmentTest (const std::string &sOutputDirectory) |
void | LiquidCompartmentTest (const std::string &sOutputDirectory) |
void | ThermalCompartmentTest (const std::string &sOutputDirectory) |
void | TissueCompartmentTest (const std::string &sOutputDirectory) |
void | LargeFlowTransportTest (const std::string &sOutputDirectory) |
void | LiquidTransportTest (const std::string &sOutputDirectory) |
void | GasTransportTest (const std::string &sOutputDirectory) |
void | BasicBlackBoxComparisonTest (const std::string &sOutputDirectory) |
void | BasicBlackBoxTest (const std::string &sOutputDirectory) |
void | WindkesselBlackBoxTest (const std::string &sOutputDirectory) |
void | BlackBoxComplianceTest (const std::string &sOutputDirectory) |
void | BlackBoxSourcesTest (const std::string &sOutputDirectory) |
void | ActionTest (const std::string &sOutputDirectory) |
void | ReadPatientDirectory (const std::string &sOutputDirectory) |
void | ReadSubstanceDirectory (const std::string &sOutputDirectory) |
void | ConvertScenarioLogs (const std::string &sOutputDirectory) |
void | ScalarTest (const std::string &sOutputDirectory) |
void | UnitsTest (const std::string &sOutputDirectory) |
void | WaveformInterpolatorTest (const std::string &sOutputDirectory) |
Public Member Functions inherited from SETestManager | |
SETestManager (Logger *logger=nullptr) | |
virtual | ~SETestManager ()=default |
virtual bool | RunTest (const std::string &testName, const std::string &sOutputDirectory)=0 |
Public Member Functions inherited from Loggable | |
Loggable (Logger *logger=nullptr) | |
Loggable (std::string const &logfile) | |
virtual | ~Loggable () |
virtual Logger * | GetLogger () const |
virtual void | SetLogger (Logger &logger) |
virtual void | Debug (std::string const &msg) const |
virtual void | Debug (std::stringstream &msg) const |
virtual void | Debug (std::ostream &msg) const |
virtual void | Info (std::string const &msg) const |
virtual void | Info (std::stringstream &msg) const |
virtual void | Info (const std::stringstream &msg) const |
virtual void | Info (std::ostream &msg) const |
virtual void | Warning (std::string const &msg) const |
virtual void | Warning (std::stringstream &msg) const |
virtual void | Warning (std::ostream &msg) const |
virtual void | Error (std::string const &msg) const |
virtual void | Error (std::stringstream &msg) const |
virtual void | Error (std::ostream &msg) const |
virtual void | Fatal (std::string const &msg) const |
virtual void | Fatal (std::stringstream &msg) const |
virtual void | Fatal (std::ostream &msg) const |
Protected Types | |
typedef void(CommonDataModelTest::* | testFunction) (const std::string &) |
typedef std::map< std::string, testFunction > | testMap |
Protected Attributes | |
double | m_PercentTolerance |
std::string | m_OutDirectory |
testMap | cdmMap |
SECircuitManager * | m_Circuits |
Protected Attributes inherited from SETestManager | |
std::stringstream | m_ss |
Protected Attributes inherited from Loggable | |
bool | myLogger |
Logger * | m_Logger |
Member Typedef Documentation
◆ testFunction
|
protected |
◆ testMap
|
protected |
Constructor & Destructor Documentation
◆ CommonDataModelTest()
CommonDataModelTest::CommonDataModelTest | ( | Logger * | logger = nullptr | ) |
◆ ~CommonDataModelTest()
|
virtual |
Member Function Documentation
◆ ActionTest()
void CommonDataModelTest::ActionTest | ( | const std::string & | sOutputDirectory | ) |
◆ BadDiodeDCTest()
void CommonDataModelTest::BadDiodeDCTest | ( | const std::string & | sOutputDirectory | ) |
◆ BadDiodePULSETest()
void CommonDataModelTest::BadDiodePULSETest | ( | const std::string & | sOutputDirectory | ) |
◆ BadDiodeSINTest()
void CommonDataModelTest::BadDiodeSINTest | ( | const std::string & | sOutputDirectory | ) |
◆ BasicBlackBoxComparisonTest()
void CommonDataModelTest::BasicBlackBoxComparisonTest | ( | const std::string & | sOutputDirectory | ) |
◆ BasicBlackBoxTest()
void CommonDataModelTest::BasicBlackBoxTest | ( | const std::string & | sOutputDirectory | ) |
◆ BasicCircuitPreProcess()
|
protected |
Controls the PreProcess logic for the BasicCircuit test.
- Parameters
-
dT contains the information about how much time has passed in the test
<DETAILED_DESCRIPTION>
◆ BasicCircuitTest()
void CommonDataModelTest::BasicCircuitTest | ( | const std::string & | outputDirectory | ) |
Runs the basic circuit unit test.
- Parameters
-
outputDirectory points to the unit test directory
This is a unit test for the circuit math. It runs for 100 seconds as opposed to the suite of other circuit unit tests that only run for 10 seconds each. It uses a pressure source outputting a sinusoidal waveform.
◆ BasicDiodeDCCurrentTest()
void CommonDataModelTest::BasicDiodeDCCurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ BasicDiodePULSECurrentTest()
void CommonDataModelTest::BasicDiodePULSECurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ BasicDiodeSINCurrentTest()
void CommonDataModelTest::BasicDiodeSINCurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ BlackBoxComplianceTest()
void CommonDataModelTest::BlackBoxComplianceTest | ( | const std::string & | sOutputDirectory | ) |
◆ BlackBoxSourcesTest()
void CommonDataModelTest::BlackBoxSourcesTest | ( | const std::string & | sOutputDirectory | ) |
◆ CheckGasPressureAndVolume()
|
protected |
◆ CheckLiquidPressureAndVolume()
|
protected |
◆ CheckTemperatureAndHeat()
|
protected |
◆ CircuitErrorTest()
void CommonDataModelTest::CircuitErrorTest | ( | const std::string & | sTestDirectory | ) |
Tests the circuit errors.
- Parameters
-
sTestDirectory points to the unit test directory
This tests the errors thrown when the circuit state is attempted to be calculated, but contains something improperly setup.
◆ CircuitLockingTest()
void CommonDataModelTest::CircuitLockingTest | ( | const std::string & | sOutputDirectory | ) |
◆ CombinedCircuitTest()
void CommonDataModelTest::CombinedCircuitTest | ( | const std::string & | sTestDirectory | ) |
Tests the combined circuit methodology.
- Parameters
-
sTestDirectory points to the unit test directory
This tests the functionality of combining separate circuits into once single circuit that can be calculated, such as when the anesthesia machine connects to the respiratory system.
◆ ComplianceVolumeChange()
void CommonDataModelTest::ComplianceVolumeChange | ( | const std::string & | sOutputDirectory | ) |
◆ Comprehensive1DCTest()
void CommonDataModelTest::Comprehensive1DCTest | ( | const std::string & | sOutputDirectory | ) |
◆ Comprehensive1PULSETest()
void CommonDataModelTest::Comprehensive1PULSETest | ( | const std::string & | sOutputDirectory | ) |
◆ Comprehensive1SINTest()
void CommonDataModelTest::Comprehensive1SINTest | ( | const std::string & | sOutputDirectory | ) |
◆ ConvertList()
|
protected |
◆ ConvertScenarioLogs()
void CommonDataModelTest::ConvertScenarioLogs | ( | const std::string & | sOutputDirectory | ) |
◆ CurrentCompDCTest()
void CommonDataModelTest::CurrentCompDCTest | ( | const std::string & | sOutputDirectory | ) |
◆ CurrentCompPULSETest()
void CommonDataModelTest::CurrentCompPULSETest | ( | const std::string & | sOutputDirectory | ) |
◆ CurrentCompSINTest()
void CommonDataModelTest::CurrentCompSINTest | ( | const std::string & | sOutputDirectory | ) |
◆ DynamicallyChangingCircuitTest()
void CommonDataModelTest::DynamicallyChangingCircuitTest | ( | const std::string & | sTestDirectory | ) |
Tests to ensure circuits can be changed dynamically.
- Parameters
-
sTestDirectory points to the unit test directory
This tests the dynamic circuit methodology by changing path elements, as well as adding a path in the middle of a run.
◆ ElectricalCircuitTest()
void CommonDataModelTest::ElectricalCircuitTest | ( | const std::string & | sOutputDirectory | ) |
◆ FillFunctionMap()
|
overrideprotectedvirtual |
Implements SETestManager.
◆ FluidCircuitTest()
void CommonDataModelTest::FluidCircuitTest | ( | const std::string & | sOutputDirectory | ) |
◆ FluidPreProcess()
|
protected |
◆ GasCompartmentTest()
void CommonDataModelTest::GasCompartmentTest | ( | const std::string & | sOutputDirectory | ) |
◆ GasTransportTest()
void CommonDataModelTest::GasTransportTest | ( | const std::string & | sOutputDirectory | ) |
◆ LargeFlowTransportTest()
void CommonDataModelTest::LargeFlowTransportTest | ( | const std::string & | sOutputDirectory | ) |
◆ LiquidCompartmentTest()
void CommonDataModelTest::LiquidCompartmentTest | ( | const std::string & | sOutputDirectory | ) |
◆ LiquidTransportTest()
void CommonDataModelTest::LiquidTransportTest | ( | const std::string & | sOutputDirectory | ) |
◆ MultiphysicsElectricalCircuitTest()
void CommonDataModelTest::MultiphysicsElectricalCircuitTest | ( | const std::string & | sOutputDirectory | ) |
◆ MultiphysicsFluidCircuitTest()
void CommonDataModelTest::MultiphysicsFluidCircuitTest | ( | const std::string & | sOutputDirectory | ) |
◆ MultiphysicsThermalCircuitTest()
void CommonDataModelTest::MultiphysicsThermalCircuitTest | ( | const std::string & | sOutputDirectory | ) |
◆ NonZeroReferenceNegative()
void CommonDataModelTest::NonZeroReferenceNegative | ( | const std::string & | sTestDirectory | ) |
Tests the non-zero reference circuit methodology.
- Parameters
-
sTestDirectory points to the unit test directory
This tests the ability to solve a circuit correctly with a negative reference potential value.
◆ NonZeroReferencePositive()
void CommonDataModelTest::NonZeroReferencePositive | ( | const std::string & | sTestDirectory | ) |
Tests the non-zero reference circuit methodology.
- Parameters
-
sTestDirectory points to the unit test directory
This tests the ability to solve a circuit correctly with a positive and negative reference potential value.
◆ ParallelCapDCCurrentTest()
void CommonDataModelTest::ParallelCapDCCurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelCapDCTest()
void CommonDataModelTest::ParallelCapDCTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelCapPULSECurrentTest()
void CommonDataModelTest::ParallelCapPULSECurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelCapPULSETest()
void CommonDataModelTest::ParallelCapPULSETest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelCapSINCurrentTest()
void CommonDataModelTest::ParallelCapSINCurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelCapSINTest()
void CommonDataModelTest::ParallelCapSINTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelCurrentSourceAdditionDCTest()
void CommonDataModelTest::ParallelCurrentSourceAdditionDCTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelCurrentSourceAdditionPULSETest()
void CommonDataModelTest::ParallelCurrentSourceAdditionPULSETest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelCurrentSourceAdditionSINTest()
void CommonDataModelTest::ParallelCurrentSourceAdditionSINTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelIndDCCurrentTest()
void CommonDataModelTest::ParallelIndDCCurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelIndDCTest()
void CommonDataModelTest::ParallelIndDCTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelIndPULSECurrentTest()
void CommonDataModelTest::ParallelIndPULSECurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelIndPULSETest()
void CommonDataModelTest::ParallelIndPULSETest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelIndSINCurrentTest()
void CommonDataModelTest::ParallelIndSINCurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelIndSINTest()
void CommonDataModelTest::ParallelIndSINTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelPressureSourceAdditionDCTest()
void CommonDataModelTest::ParallelPressureSourceAdditionDCTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelPressureSourceAdditionPULSETest()
void CommonDataModelTest::ParallelPressureSourceAdditionPULSETest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelPressureSourceAdditionSINTest()
void CommonDataModelTest::ParallelPressureSourceAdditionSINTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelRCDCCurrentTest()
void CommonDataModelTest::ParallelRCDCCurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelRCDCTest()
void CommonDataModelTest::ParallelRCDCTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelRCPULSECurrentTest()
void CommonDataModelTest::ParallelRCPULSECurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelRCPULSETest()
void CommonDataModelTest::ParallelRCPULSETest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelRCSINCurrentTest()
void CommonDataModelTest::ParallelRCSINCurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelRCSINTest()
void CommonDataModelTest::ParallelRCSINTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelRDCCurrentTest()
void CommonDataModelTest::ParallelRDCCurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelRDCTest()
void CommonDataModelTest::ParallelRDCTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelRLCDCCurrentTest()
void CommonDataModelTest::ParallelRLCDCCurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelRLCDCTest()
void CommonDataModelTest::ParallelRLCDCTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelRLCPULSECurrentTest()
void CommonDataModelTest::ParallelRLCPULSECurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelRLCPULSETest()
void CommonDataModelTest::ParallelRLCPULSETest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelRLCSINCurrentTest()
void CommonDataModelTest::ParallelRLCSINCurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelRLCSINTest()
void CommonDataModelTest::ParallelRLCSINTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelRLDCCurrentTest()
void CommonDataModelTest::ParallelRLDCCurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelRLDCTest()
void CommonDataModelTest::ParallelRLDCTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelRLPULSECurrentTest()
void CommonDataModelTest::ParallelRLPULSECurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelRLPULSETest()
void CommonDataModelTest::ParallelRLPULSETest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelRLSINCenteredTest()
void CommonDataModelTest::ParallelRLSINCenteredTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelRLSINCurrentTest()
void CommonDataModelTest::ParallelRLSINCurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelRLSINTest()
void CommonDataModelTest::ParallelRLSINTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelRPULSECurrentTest()
void CommonDataModelTest::ParallelRPULSECurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelRPULSETest()
void CommonDataModelTest::ParallelRPULSETest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelRSINCurrentTest()
void CommonDataModelTest::ParallelRSINCurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ ParallelRSINTest()
void CommonDataModelTest::ParallelRSINTest | ( | const std::string & | sOutputDirectory | ) |
◆ PolarizedCapacitorTest()
void CommonDataModelTest::PolarizedCapacitorTest | ( | const std::string & | sTestDirectory | ) |
Tests the polarized element methodology.
- Parameters
-
sTestDirectory points to the unit test directory
This tests the functionality of a polarized capacitor and ensures that it functions normally when the Source Pressure is greater than the Target Pressure, and functions as an open switch when the Target Pressure is greater than the Source Pressure.
◆ PreChargeComplianceNonZeroVolume()
void CommonDataModelTest::PreChargeComplianceNonZeroVolume | ( | const std::string & | sOutputDirectory | ) |
◆ PreChargeComplianceZeroVolume()
void CommonDataModelTest::PreChargeComplianceZeroVolume | ( | const std::string & | sOutputDirectory | ) |
◆ ReadPatientDirectory()
void CommonDataModelTest::ReadPatientDirectory | ( | const std::string & | sOutputDirectory | ) |
◆ ReadSubstanceDirectory()
void CommonDataModelTest::ReadSubstanceDirectory | ( | const std::string & | sOutputDirectory | ) |
◆ RunTest() [1/2]
|
protected |
◆ RunTest() [2/2]
|
overridevirtual |
Implements SETestManager.
◆ ScalarTest()
void CommonDataModelTest::ScalarTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesCapDCCurrentTest()
void CommonDataModelTest::SeriesCapDCCurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesCapDCTest()
void CommonDataModelTest::SeriesCapDCTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesCapPULSECurrentTest()
void CommonDataModelTest::SeriesCapPULSECurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesCapPULSETest()
void CommonDataModelTest::SeriesCapPULSETest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesCapSINCurrentTest()
void CommonDataModelTest::SeriesCapSINCurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesCapSINTest()
void CommonDataModelTest::SeriesCapSINTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesCurrentSourceAdditionDCTest()
void CommonDataModelTest::SeriesCurrentSourceAdditionDCTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesCurrentSourceAdditionPULSETest()
void CommonDataModelTest::SeriesCurrentSourceAdditionPULSETest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesCurrentSourceAdditionSINTest()
void CommonDataModelTest::SeriesCurrentSourceAdditionSINTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesIndDCCurrentTest()
void CommonDataModelTest::SeriesIndDCCurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesIndDCTest()
void CommonDataModelTest::SeriesIndDCTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesIndPULSECurrentTest()
void CommonDataModelTest::SeriesIndPULSECurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesIndPULSETest()
void CommonDataModelTest::SeriesIndPULSETest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesIndSINCurrentTest()
void CommonDataModelTest::SeriesIndSINCurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesIndSINTest()
void CommonDataModelTest::SeriesIndSINTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesPressureSourceAdditionDCTest()
void CommonDataModelTest::SeriesPressureSourceAdditionDCTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesPressureSourceAdditionPULSETest()
void CommonDataModelTest::SeriesPressureSourceAdditionPULSETest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesPressureSourceAdditionSINTest()
void CommonDataModelTest::SeriesPressureSourceAdditionSINTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesRCDCCurrentTest()
void CommonDataModelTest::SeriesRCDCCurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesRCDCTest()
void CommonDataModelTest::SeriesRCDCTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesRCPULSECurrentTest()
void CommonDataModelTest::SeriesRCPULSECurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesRCPULSETest()
void CommonDataModelTest::SeriesRCPULSETest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesRCSINCurrentTest()
void CommonDataModelTest::SeriesRCSINCurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesRCSINTest()
void CommonDataModelTest::SeriesRCSINTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesRDCTest()
void CommonDataModelTest::SeriesRDCTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesRLCDCCurrentTest()
void CommonDataModelTest::SeriesRLCDCCurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesRLCDCTest()
void CommonDataModelTest::SeriesRLCDCTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesRLCPULSECurrentTest()
void CommonDataModelTest::SeriesRLCPULSECurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesRLCPULSETest()
void CommonDataModelTest::SeriesRLCPULSETest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesRLCSINCurrentTest()
void CommonDataModelTest::SeriesRLCSINCurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesRLCSINTest()
void CommonDataModelTest::SeriesRLCSINTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesRLDCCurrentTest()
void CommonDataModelTest::SeriesRLDCCurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesRLDCTest()
void CommonDataModelTest::SeriesRLDCTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesRLPULSECurrentTest()
void CommonDataModelTest::SeriesRLPULSECurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesRLPULSETest()
void CommonDataModelTest::SeriesRLPULSETest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesRLSINCurrentTest()
void CommonDataModelTest::SeriesRLSINCurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesRLSINTest()
void CommonDataModelTest::SeriesRLSINTest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesRPULSETest()
void CommonDataModelTest::SeriesRPULSETest | ( | const std::string & | sOutputDirectory | ) |
◆ SeriesRSINTest()
void CommonDataModelTest::SeriesRSINTest | ( | const std::string & | sOutputDirectory | ) |
◆ SimpleDiodeDCTest()
void CommonDataModelTest::SimpleDiodeDCTest | ( | const std::string & | sOutputDirectory | ) |
◆ SimpleDiodePULSETest()
void CommonDataModelTest::SimpleDiodePULSETest | ( | const std::string & | sOutputDirectory | ) |
◆ SimpleDiodeSINTest()
void CommonDataModelTest::SimpleDiodeSINTest | ( | const std::string & | sOutputDirectory | ) |
◆ SwitchRCDCCurrentTest()
void CommonDataModelTest::SwitchRCDCCurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ SwitchRCDCTest()
void CommonDataModelTest::SwitchRCDCTest | ( | const std::string & | sOutputDirectory | ) |
◆ SwitchRCPULSECurrentTest()
void CommonDataModelTest::SwitchRCPULSECurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ SwitchRCPULSETest()
void CommonDataModelTest::SwitchRCPULSETest | ( | const std::string & | sOutputDirectory | ) |
◆ SwitchRCSINCurrentTest()
void CommonDataModelTest::SwitchRCSINCurrentTest | ( | const std::string & | sOutputDirectory | ) |
◆ SwitchRCSINTest()
void CommonDataModelTest::SwitchRCSINTest | ( | const std::string & | sOutputDirectory | ) |
◆ TestCircuitHeatTemperatureAndFlows()
|
protected |
◆ TestCircuitSerialization()
|
protected |
◆ TestCompartmentSerialization()
|
protected |
◆ TestFlow() [1/3]
|
protected |
◆ TestFlow() [2/3]
|
protected |
◆ TestFlow() [3/3]
|
protected |
◆ TestGasCircuitVolumesPressuresAndFlows()
|
protected |
◆ TestGasFlows()
|
protected |
◆ TestGasHierarchy()
|
protected |
◆ TestGasHierarchyFlows()
|
protected |
◆ TestGasSubstanceQuantity()
|
protected |
◆ TestLiquidCircuitVolumesPressuresAndFlows()
|
protected |
◆ TestLiquidFlows()
|
protected |
◆ TestLiquidHierarchy()
|
protected |
◆ TestLiquidHierarchyFlows()
|
protected |
◆ TestLiquidHierarchySaturation()
|
protected |
◆ TestLiquidSubstanceQuantity()
|
protected |
◆ TestPreProcess1()
|
protected |
Performs the preprocess math for any DC circuit in the circuit unit tests.
- Parameters
-
dT contains the information about how much time has passed in the test i holds the logic for which test is running
TestPreProcess1 is used for the tests that have DC drivers. It also contains the logic necessary to control a switch if the test calls for it.
◆ TestPreProcess2()
|
protected |
Performs the preprocess math for the circuits that use sinusoidal sources.
- Parameters
-
dT contains the information about how much time has passed in the test i holds the logic for which test is running
TestPreProcess2 is used for the tests that have sinusoidal drivers. It also contains the logic necessary to control a switch if the test calls for it. The pressure sources in this preprocess are all offset from 0 so they never go negative.
◆ TestPreProcess3()
|
protected |
Performs the preprocess math for the circuits that use pulse train sources.
- Parameters
-
dT contains the information about how much time has passed in the test i holds the logic for which test is running
3 is used for the tests that have pulse train drivers. It also contains the logic necessary to control a switch if the test calls for it.
◆ TestPreProcess4()
|
protected |
Performs the preprocess math for the circuits that use sinusoidal sources with pressure sources centered around 0.
- Parameters
-
dT contains the information about how much time has passed in the test i holds the logic for which test is running
TestPreProcess4 is used for the tests that have sinusoidal drivers. It also contains the logic necessary to control a switch if the test calls for it. The pressure sources in this preprocess are not offset, so they can go negative.
◆ TestSetup10ParallelRDC()
|
protected |
◆ TestSetup10ParallelRPULSE()
|
protected |
◆ TestSetup10ParallelRSIN()
|
protected |
◆ TestSetup11ParallelRCDC()
|
protected |
◆ TestSetup11ParallelRCPULSE()
|
protected |
◆ TestSetup11ParallelRCSIN()
|
protected |
◆ TestSetup12ParallelRLDC()
|
protected |
◆ TestSetup12ParallelRLPULSE()
|
protected |
◆ TestSetup12ParallelRLSIN()
|
protected |
◆ TestSetup12ParallelRLSINCentered()
|
protected |
◆ TestSetup13SeriesRLCDC()
|
protected |
◆ TestSetup13SeriesRLCPULSE()
|
protected |
◆ TestSetup13SeriesRLCSIN()
|
protected |
◆ TestSetup14ParallelRLCDC()
|
protected |
◆ TestSetup14ParallelRLCPULSE()
|
protected |
◆ TestSetup14ParallelRLCSIN()
|
protected |
◆ TestSetup15SwitchRCDC()
|
protected |
◆ TestSetup15SwitchRCPULSE()
|
protected |
◆ TestSetup15SwitchRCSIN()
|
protected |
◆ TestSetup16Comprehensive1DC()
|
protected |
◆ TestSetup16Comprehensive1PULSE()
|
protected |
◆ TestSetup16Comprehensive1SIN()
|
protected |
◆ TestSetup17BasicDiodeDC()
|
protected |
◆ TestSetup17BasicDiodePULSE()
|
protected |
◆ TestSetup17BasicDiodeSIN()
|
protected |
◆ TestSetup18RCSeriesDCCurrent()
|
protected |
◆ TestSetup18RCSeriesPulseCurrent()
|
protected |
◆ TestSetup18RCSeriesSINCurrent()
|
protected |
◆ TestSetup19RCParallelDCCurrent()
|
protected |
◆ TestSetup19RCParallelPulseCurrent()
|
protected |
◆ TestSetup19RCParallelSINCurrent()
|
protected |
◆ TestSetup20SeriesCapDC()
|
protected |
◆ TestSetup20SeriesCapPulse()
|
protected |
◆ TestSetup20SeriesCapSIN()
|
protected |
◆ TestSetup21ParallelRDCCurrent()
|
protected |
◆ TestSetup21ParallelRPulseCurrent()
|
protected |
◆ TestSetup21ParallelRSINCurrent()
|
protected |
◆ TestSetup22CurrentCompDC()
|
protected |
◆ TestSetup22CurrentCompPulse()
|
protected |
◆ TestSetup22CurrentCompSIN()
|
protected |
◆ TestSetup23SeriesRLDCCurrent()
|
protected |
◆ TestSetup23SeriesRLPULSECurrent()
|
protected |
◆ TestSetup23SeriesRLSINCurrent()
|
protected |
◆ TestSetup24ParallelRLDCCurrent()
|
protected |
◆ TestSetup24ParallelRLPULSECurrent()
|
protected |
◆ TestSetup24ParallelRLSINCurrent()
|
protected |
◆ TestSetup25BasicDiodeDCCurrent()
|
protected |
◆ TestSetup25BasicDiodePULSECurrent()
|
protected |
◆ TestSetup25BasicDiodeSINCurrent()
|
protected |
◆ TestSetup26SwitchRCDCCurrent()
|
protected |
◆ TestSetup26SwitchRCPULSECurrent()
|
protected |
◆ TestSetup26SwitchRCSINCurrent()
|
protected |
◆ TestSetup27SeriesRLCDCCurrent()
|
protected |
◆ TestSetup27SeriesRLCPULSECurrent()
|
protected |
◆ TestSetup27SeriesRLCSINCurrent()
|
protected |
◆ TestSetup28ParallelRLCDCCurrent()
|
protected |
◆ TestSetup28ParallelRLCPULSECurrent()
|
protected |
◆ TestSetup28ParallelRLCSINCurrent()
|
protected |
◆ TestSetup29SeriesPressureSourceAdditionDC()
|
protected |
◆ TestSetup29SeriesPressureSourceAdditionPULSE()
|
protected |
◆ TestSetup29SeriesPressureSourceAdditionSIN()
|
protected |
◆ TestSetup30SeriesCurrentSourceAdditionDC()
|
protected |
◆ TestSetup30SeriesCurrentSourceAdditionPULSE()
|
protected |
◆ TestSetup30SeriesCurrentSourceAdditionSIN()
|
protected |
◆ TestSetup31ParallelPressureSourceAdditionDC()
|
protected |
◆ TestSetup31ParallelPressureSourceAdditionPULSE()
|
protected |
◆ TestSetup31ParallelPressureSourceAdditionSIN()
|
protected |
◆ TestSetup32ParallelCurrentSourceAdditionDC()
|
protected |
◆ TestSetup32ParallelCurrentSourceAdditionSIN()
|
protected |
◆ TestSetup32ParallelCurrrentSourceAdditionPULSE()
|
protected |
◆ TestSetup33SeriesCapDCCurrent()
|
protected |
◆ TestSetup33SeriesCapPulseCurrent()
|
protected |
◆ TestSetup33SeriesCapSINCurrent()
|
protected |
◆ TestSetup34ParallelCapDC()
|
protected |
◆ TestSetup34ParallelCapPulse()
|
protected |
◆ TestSetup34ParallelCapSIN()
|
protected |
◆ TestSetup35ParallelCapDCCurrent()
|
protected |
◆ TestSetup35ParallelCapPulseCurrent()
|
protected |
◆ TestSetup35ParallelCapSINCurrent()
|
protected |
◆ TestSetup36SeriesIndDC()
|
protected |
◆ TestSetup36SeriesIndPulse()
|
protected |
◆ TestSetup36SeriesIndSIN()
|
protected |
◆ TestSetup37SeriesIndDCCurrent()
|
protected |
◆ TestSetup37SeriesIndPulseCurrent()
|
protected |
◆ TestSetup37SeriesIndSINCurrent()
|
protected |
◆ TestSetup38ParallelIndDC()
|
protected |
◆ TestSetup38ParallelIndPulse()
|
protected |
◆ TestSetup38ParallelIndSIN()
|
protected |
◆ TestSetup39ParallelIndDCCurrent()
|
protected |
◆ TestSetup39ParallelIndPulseCurrent()
|
protected |
◆ TestSetup39ParallelIndSINCurrent()
|
protected |
◆ TestSetup40BadDiodeDC()
|
protected |
◆ TestSetup40BadDiodePulse()
|
protected |
◆ TestSetup40BadDiodeSIN()
|
protected |
◆ TestSetup41ValidationComprehensive1DC()
|
protected |
◆ TestSetup41ValidationComprehensive1Pulse()
|
protected |
◆ TestSetup41ValidationComprehensive1SIN()
|
protected |
◆ TestSetup41ValidationComprehensive1SINCentered()
|
protected |
◆ TestSetup42ValidationComprehensive2DC()
|
protected |
◆ TestSetup42ValidationComprehensive2Pulse()
|
protected |
◆ TestSetup42ValidationComprehensive2SIN()
|
protected |
◆ TestSetup42ValidationComprehensive2SINCentered()
|
protected |
◆ TestSetup7SeriesRCDC()
|
protected |
◆ TestSetup7SeriesRCPULSE()
|
protected |
◆ TestSetup7SeriesRCSIN()
|
protected |
◆ TestSetup8SeriesRDC()
|
protected |
◆ TestSetup8SeriesRPULSE()
|
protected |
◆ TestSetup8SeriesRSIN()
|
protected |
◆ TestSetup9SeriesRLDC()
|
protected |
◆ TestSetup9SeriesRLPULSE()
|
protected |
◆ TestSetup9SeriesRLSIN()
|
protected |
◆ TestThermalFlowHierarchy()
|
protected |
◆ TestThermalFlows()
|
protected |
◆ TestThermalHierarchy()
|
protected |
◆ TestUpdateGasLinks()
|
protected |
◆ TestUpdateLiquidLinks()
|
protected |
◆ ThermalCircuitTest()
void CommonDataModelTest::ThermalCircuitTest | ( | const std::string & | sOutputDirectory | ) |
◆ ThermalCompartmentTest()
void CommonDataModelTest::ThermalCompartmentTest | ( | const std::string & | sOutputDirectory | ) |
◆ TissueCompartmentTest()
void CommonDataModelTest::TissueCompartmentTest | ( | const std::string & | sOutputDirectory | ) |
◆ UnitsTest()
void CommonDataModelTest::UnitsTest | ( | const std::string & | sOutputDirectory | ) |
◆ ValidationComprehensive1DCTest()
void CommonDataModelTest::ValidationComprehensive1DCTest | ( | const std::string & | sOutputDirectory | ) |
◆ ValidationComprehensive1PULSETest()
void CommonDataModelTest::ValidationComprehensive1PULSETest | ( | const std::string & | sOutputDirectory | ) |
◆ ValidationComprehensive1SINCenteredTest()
void CommonDataModelTest::ValidationComprehensive1SINCenteredTest | ( | const std::string & | sOutputDirectory | ) |
◆ ValidationComprehensive1SINTest()
void CommonDataModelTest::ValidationComprehensive1SINTest | ( | const std::string & | sOutputDirectory | ) |
◆ ValidationComprehensive2DCTest()
void CommonDataModelTest::ValidationComprehensive2DCTest | ( | const std::string & | sOutputDirectory | ) |
◆ ValidationComprehensive2PULSETest()
void CommonDataModelTest::ValidationComprehensive2PULSETest | ( | const std::string & | sOutputDirectory | ) |
◆ ValidationComprehensive2SINCenteredTest()
void CommonDataModelTest::ValidationComprehensive2SINCenteredTest | ( | const std::string & | sOutputDirectory | ) |
◆ ValidationComprehensive2SINTest()
void CommonDataModelTest::ValidationComprehensive2SINTest | ( | const std::string & | sOutputDirectory | ) |
◆ WaveformInterpolatorTest()
void CommonDataModelTest::WaveformInterpolatorTest | ( | const std::string & | sOutputDirectory | ) |
◆ WindkesselBlackBoxTest()
void CommonDataModelTest::WindkesselBlackBoxTest | ( | const std::string & | sOutputDirectory | ) |
Member Data Documentation
◆ cdmMap
|
protected |
◆ m_Circuits
|
protected |
◆ m_OutDirectory
|
protected |
◆ m_PercentTolerance
|
protected |