49 std::vector<std::pair<wxString, int>> tests =
51 {
"issue18092/issue18092", 1 }
54 for(
auto&[
name, nets] : tests )
58 SCH_SHEET_LIST sheets = m_schematic->BuildSheetListSortedByPageNumbers();
61 BOOST_CHECK( nets == graph->
GetNetMap().size() );
Calculate the connectivity of a schematic and generates netlists.
const NET_MAP & GetNetMap() const
Instantiate the current locale within a scope in which you are expecting exceptions to be thrown.
A container for handling SCH_SHEET_PATH objects in a flattened hierarchy.
void LoadSchematic(SETTINGS_MANAGER &aSettingsManager, const wxString &aRelPath, std::unique_ptr< SCHEMATIC > &aSchematic)
std::vector< FAB_LAYER_COLOR > dummy
SETTINGS_MANAGER m_settingsManager
CONNECTIVITY_TEST_FIXTURE()
std::unique_ptr< SCHEMATIC > m_schematic
BOOST_FIXTURE_TEST_CASE(CheckNetCounts, CONNECTIVITY_TEST_FIXTURE)