25#include <boost/test/results_collector.hpp>
48 fn.SetName( aBaseName );
59 netFile.SetName( netFile.GetName() +
"_test" );
61 netFile.SetExt(
"spice" );
62 return netFile.GetFullPath();
93 const MOCK_PGM_BASE&
program =
static_cast<MOCK_PGM_BASE&
>(
Pgm() );
96 TestNetlist(
"issue13591" );
97 TestTranPoint( 100e-6, { {
"I(R1)", 0 }, {
"I(R2)", 0 } }, 0.00001 );
98 TestTranPoint( 500e-6, { {
"I(R1)", 0 }, {
"I(R2)", 0 } }, 0.00001 );
106 m_SaveCurrents =
false;
108 TestNetlist(
"issue13431" );
109 TestTranPoint( 0.005, { {
"V(/soft_start)", 2.489 } } );
110 TestTranPoint( 0.012, { {
"V(/soft_start)", 5.100 } } );
121 const MOCK_PGM_BASE&
program =
static_cast<MOCK_PGM_BASE&
>(
Pgm() );
124 TestNetlist(
"issue13112" );
125 TestTranPoint( 0.01, { {
"V(out)", -0.060 } } );
126 TestTranPoint( 0.02, { {
"V(out)", 0.856 } } );
135 const MOCK_PGM_BASE&
program =
static_cast<MOCK_PGM_BASE&
>(
Pgm() );
138 TestNetlist(
"issue13162" );
139 TestTranPoint( 0.030, { {
"V(out)", 0.000829682 } } );
140 TestTranPoint( 0.035, { {
"V(out)", -0.000829692 } } );
148 const MOCK_PGM_BASE&
program =
static_cast<MOCK_PGM_BASE&
>(
Pgm() );
151 TestNetlist(
"issue12505" );
152 TestTranPoint( 0.015, { {
"V(Net-_R1-Pad2_)", -311 } } );
153 TestTranPoint( 0.025, { {
"V(Net-_R1-Pad2_)", 311 } } );
161 const MOCK_PGM_BASE&
program =
static_cast<MOCK_PGM_BASE&
>(
Pgm() );
164 TestNetlist(
"issue16223" );
165 TestTranPoint( 0.0, { {
"V(PRBS_OUTPUT)", 5.114 } } );
166 TestTranPoint( 1e-6, { {
"V(PRBS_OUTPUT)", -0.1144 } } );
Instantiate the current locale within a scope in which you are expecting exceptions to be thrown.
@ OPTION_SAVE_ALL_CURRENTS
@ OPTION_SAVE_ALL_VOLTAGES
@ OPTION_SAVE_ALL_DISSIPATIONS
@ OPTION_ADJUST_INCLUDE_PATHS
virtual ENV_VAR_MAP & GetLocalEnvVariables() const
virtual const wxString GetProjectFullName() const
Return the full path and name of the project.
PROJECT & Prj() const override
Return a reference to the project this schematic is part of.
unsigned GetNetlistOptions() override
wxFileName GetSchematicPath(const wxString &aBaseName) override
TEST_SIM_REGRESSIONS_FIXTURE()
wxString GetNetlistPath(bool aTest=false) override
~TEST_SIM_REGRESSIONS_FIXTURE()
static const std::string KiCadSchematicFileExtension
std::map< wxString, ENV_VAR_ITEM > ENV_VAR_MAP
std::string GetEeschemaTestDataDir()
Get the configured location of Eeschema test data.
PGM_BASE & Pgm()
The global Program "get" accessor.
std::vector< FAB_LAYER_COLOR > dummy
BOOST_FIXTURE_TEST_CASE(WindowsPaths, TEST_SIM_REGRESSIONS_FIXTURE)