52 wxString legacyLibPath = wxString( dataDir +
"issue22371/lib.sch/74xx.lib" );
58 auto it = symbols.find(
"74LS00" );
59 BOOST_REQUIRE_MESSAGE( it != symbols.end(),
"74LS00 not found in legacy library" );
61 std::unique_ptr<LIB_SYMBOL> flattenedLibSymbol = it->second->Flatten();
72 if( !libSymbolInSchematic )
81 int result = flattenedLibSymbol->Compare( *libSymbolInSchematic, flags );
88 BOOST_FAIL(
"No 74LS00 symbol found in schematic" );
wxString result
Test unit parsing edge cases and error handling.
BOOST_CHECK_EQUAL(result, "25.4")