83 boost::unit_test::data::make( FootprintLoadSave_testCases ), testCase )
85 const auto doBoardTest = [&](
const BOARD& aBoard )
87 for(
const FOOTPRINT_LOAD_TEST_CASE& fooprintTestCase : testCase.m_fpCases )
90 << fooprintTestCase.m_footprintUuid.
AsString() );
101 testCase.m_ExpectedBoardVersion );
void LoadAndTestBoardFile(const wxString aRelativePath, bool aRoundtrip, std::function< void(BOARD &)> aBoardTestFunction, std::optional< int > aExpectedBoardVersion)
Perform "some test" on a board file loaded from the path, then optionally save and reload and run the...
BOOST_CHECK_EQUAL(result, "25.4")