| 
    KiCad PCB EDA Suite
    
   | 
 
Test suite for SPICE_CIRCUIT_MODEL. More...
#include <string.h>#include <qa_utils/wx_utils/unit_test_utils.h>#include <vector>#include <wx/string.h>#include <project.h>#include <schematic.h>#include <settings/settings_manager.h>#include <sim/spice_circuit_model.h>Go to the source code of this file.
Classes | |
| class | TEST_NGSPICE_HELPERS | 
Functions | |
| BOOST_AUTO_TEST_CASE (CommandToSimType) | |
| Declare the test suite.   | |
| BOOST_AUTO_TEST_CASE (VectorToSignal) | |
| Check conversion from internal spice vector name to eeschema format.   | |
Test suite for SPICE_CIRCUIT_MODEL.
Definition in file test_ngspice_helpers.cpp.
| BOOST_AUTO_TEST_CASE | ( | CommandToSimType | ) | 
Declare the test suite.
Check if simulation command is recognised properly
Definition at line 74 of file test_ngspice_helpers.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), SPICE_CIRCUIT_MODEL::CommandToSimType(), result, ST_AC, ST_DC, ST_DISTO, ST_NOISE, ST_OP, ST_PZ, ST_SENS, ST_TF, ST_TRAN, and ST_UNKNOWN.
| BOOST_AUTO_TEST_CASE | ( | VectorToSignal | ) | 
Check conversion from internal spice vector name to eeschema format.
Definition at line 129 of file test_ngspice_helpers.cpp.
References BOOST_CHECK_EQUAL(), SPT_CURRENT, SPT_UNKNOWN, and SPT_VOLTAGE.