89 const auto doBoardTest = [&](
const BOARD& aBoard )
91 for(
const GENERATOR_LOAD_TEST_CASE& testCase : testCase.m_generatorCases )
94 "Checking for generator with UUID: " << testCase.m_searchUuid.
AsString() );
96 const auto& generator =
102 BOOST_CHECK_EQUAL( generator.GetItems().size(), testCase.m_expectedMemberCount );
107 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")