79 boost::unit_test::data::make( FootprintLoadSave_testCases ), testCase )
81 const auto doBoardTest = [&](
const BOARD& aBoard )
83 for(
const FOOTPRINT_LOAD_TEST_CASE& fooprintTestCase : testCase.m_fpCases )
86 << fooprintTestCase.m_footprintUuid.
AsString() );
97 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")