79 const auto doFootprintTest = [&](
const FOOTPRINT& aBoard )
81 if( testCase.m_expectedPadCount )
88 doFootprintTest, testCase.m_expectedFootprintVersion );
std::ostream & operator<<(std::ostream &aStream, const EDA_TEXT &aText)
void LoadAndTestFootprintFile(const wxString &aLibRelativePath, const wxString &aFpName, bool aRoundtrip, std::function< void(FOOTPRINT &)> aFootprintTestFunction, std::optional< int > aExpectedFootprintVersion)
Same as LoadAndTestBoardFile, but for footprints.
BOOST_DATA_TEST_CASE(FpLibLoadSave, boost::unit_test::data::make(FpLibLoadSave_testCases), testCase)
Simple tests cases that run though the given FPs and checks some simple properties.
BOOST_CHECK_EQUAL(result, "25.4")