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();
94 const MOCK_PGM_BASE&
program =
static_cast<MOCK_PGM_BASE&
>(
Pgm() );
97 TestNetlist(
"issue13591" );
98 TestTranPoint( 100e-6, { {
"I(R1)", 0 }, {
"I(R2)", 0 } }, 0.00001 );
99 TestTranPoint( 500e-6, { {
"I(R1)", 0 }, {
"I(R2)", 0 } }, 0.00001 );
107 m_SaveCurrents =
false;
109 TestNetlist(
"issue13431" );
110 TestTranPoint( 0.005, { {
"V(/soft_start)", 2.489 } } );
111 TestTranPoint( 0.012, { {
"V(/soft_start)", 5.100 } } );
122 const MOCK_PGM_BASE&
program =
static_cast<MOCK_PGM_BASE&
>(
Pgm() );
125 TestNetlist(
"issue13112" );
126 TestTranPoint( 0.01, { {
"V(out)", -0.060 } } );
127 TestTranPoint( 0.02, { {
"V(out)", 0.856 } } );
136 const MOCK_PGM_BASE&
program =
static_cast<MOCK_PGM_BASE&
>(
Pgm() );
139 TestNetlist(
"issue13162" );
140 TestTranPoint( 0.030, { {
"V(out)", 0.000829682 } } );
141 TestTranPoint( 0.035, { {
"V(out)", -0.000829692 } } );
149 const MOCK_PGM_BASE&
program =
static_cast<MOCK_PGM_BASE&
>(
Pgm() );
152 TestNetlist(
"issue12505" );
153 TestTranPoint( 0.015, { {
"V(Net-_R1-Pad2_)", -311 } } );
154 TestTranPoint( 0.025, { {
"V(Net-_R1-Pad2_)", 311 } } );
162 const MOCK_PGM_BASE&
program =
static_cast<MOCK_PGM_BASE&
>(
Pgm() );
165 TestNetlist(
"issue16223" );
166 TestTranPoint( 0.0, { {
"V(PRBS_OUTPUT)", 5.114 } } );
167 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)