KiCad PCB EDA Suite
Loading...
Searching...
No Matches
TEST_SIM_LIBRARY_SPICE_FIXTURE Class Reference

Public Member Functions

std::string GetLibraryPath (const std::string &aBaseName)
 
void LoadLibrary (const std::string &aBaseName)
 
void CompareToUsualDiodeModel (const SIM_MODEL &aModel, const std::string &aModelName, int aModelIndex)
 
void CompareToEmptyModel (const SIM_MODEL &aModel, const std::string &aModelName, int aModelIndex)
 
void TestTransistor (const SIM_MODEL &aModel, const std::string &aModelName, int aModelIndex, SIM_MODEL::TYPE aType, const std::vector< std::string > &aParamNames)
 

Public Attributes

std::unique_ptr< SIM_LIBRARY_SPICEm_library
 

Detailed Description

Definition at line 33 of file test_library_spice.cpp.

Member Function Documentation

◆ CompareToEmptyModel()

void TEST_SIM_LIBRARY_SPICE_FIXTURE::CompareToEmptyModel ( const SIM_MODEL aModel,
const std::string &  aModelName,
int  aModelIndex 
)
inline

◆ CompareToUsualDiodeModel()

void TEST_SIM_LIBRARY_SPICE_FIXTURE::CompareToUsualDiodeModel ( const SIM_MODEL aModel,
const std::string &  aModelName,
int  aModelIndex 
)
inline

◆ GetLibraryPath()

std::string TEST_SIM_LIBRARY_SPICE_FIXTURE::GetLibraryPath ( const std::string &  aBaseName)
inline

Definition at line 36 of file test_library_spice.cpp.

References KI_TEST::GetEeschemaTestDataDir().

Referenced by LoadLibrary().

◆ LoadLibrary()

void TEST_SIM_LIBRARY_SPICE_FIXTURE::LoadLibrary ( const std::string &  aBaseName)
inline

Definition at line 47 of file test_library_spice.cpp.

References GetLibraryPath(), m_library, and path.

◆ TestTransistor()

void TEST_SIM_LIBRARY_SPICE_FIXTURE::TestTransistor ( const SIM_MODEL aModel,
const std::string &  aModelName,
int  aModelIndex,
SIM_MODEL::TYPE  aType,
const std::vector< std::string > &  aParamNames 
)
inline

Member Data Documentation

◆ m_library

std::unique_ptr<SIM_LIBRARY_SPICE> TEST_SIM_LIBRARY_SPICE_FIXTURE::m_library

Definition at line 155 of file test_library_spice.cpp.

Referenced by LoadLibrary().


The documentation for this class was generated from the following file: