KiCad PCB EDA Suite
|
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_SPICE > | m_library |
Definition at line 33 of file test_library_spice.cpp.
|
inline |
Definition at line 71 of file test_library_spice.cpp.
References SIM_MODEL::GetParam(), SIM_MODEL::GetParamCount(), SIM_MODEL::GetParamOverride(), SIM_MODEL::GetSpiceInfo(), SIM_MODEL::PARAM::info, SIM_MODEL::SPICE_INFO::modelType, SIM_MODEL::PARAM::INFO::name, and SIM_MODEL::PARAM::value.
|
inline |
Definition at line 56 of file test_library_spice.cpp.
References SIM_MODEL::FindParam(), SIM_MODEL::GetSpiceInfo(), SIM_MODEL::GetType(), SIM_MODEL::SPICE_INFO::modelType, and SIM_MODEL::PARAM::value.
|
inline |
Definition at line 36 of file test_library_spice.cpp.
References KI_TEST::GetEeschemaTestDataDir().
Referenced by LoadLibrary().
|
inline |
Definition at line 47 of file test_library_spice.cpp.
References GetLibraryPath(), m_library, and path.
|
inline |
Definition at line 90 of file test_library_spice.cpp.
References SIM_MODEL::PARAM::INFO::category, SIM_MODEL::FindParam(), SIM_MODEL::PARAM::FLAGS, SIM_MODEL::GetDeviceInfo(), SIM_MODEL::GetSpiceInfo(), SIM_MODEL::GetType(), SIM_MODEL::GetTypeInfo(), SIM_MODEL::PARAM::info, SIM_MODEL::SPICE_INFO::modelType, SIM_MODEL::PARAM::INFO::type, SIM_VALUE::TYPE_INT, and SIM_MODEL::PARAM::value.
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().