19 #include <boost/test/unit_test.hpp>
23 namespace architecture {
25 BOOST_AUTO_TEST_SUITE(architecture)
42 Pad pad1(siteIndex, name, flags);
44 BOOST_CHECK_EQUAL(pad1.
getName(), name);
45 BOOST_CHECK_EQUAL(pad1.
getFlags(), flags);
48 BOOST_CHECK_EQUAL(pad2.getName(),
"");
52 BOOST_AUTO_TEST_SUITE_END()
const string & getName(void) const
Returns the name of the pad in its physical package.
Encapsulation of the site index, pin name, and pin flags for a package.
BOOST_AUTO_TEST_CASE(ArcUnitTest)
Unit test for the Arc class.
Header for the Pad class.
SiteFlags getFlags(void) const
Returns the site flags for this pad, specifically including bonding.
Encapsulation of site attribute flags in an unsigned 16-bit integer.
Encapsulation of a site index in an unsigned 32-bit integer.
SiteIndex getSiteIndex(void) const
Returns the index of the site corresponding to this pad.