19 #include <boost/test/unit_test.hpp>
24 namespace architecture {
26 BOOST_AUTO_TEST_SUITE(architecture)
45 Arc arc3(tilewire1, tilewire2);
46 Arc arc4(tilewire2, tilewire1);
47 BOOST_CHECK((arc1 == arc2) ==
true);
48 BOOST_CHECK((arc1 == arc3) ==
false);
49 BOOST_CHECK((arc3 < arc4) ==
true);
50 BOOST_CHECK((arc4 < arc3) ==
false);
64 BOOST_AUTO_TEST_SUITE_END()
Encapsulation of a tile index in an unsigned 32-bit integer.
Encapsulation of an arc between two tilewires.
BOOST_AUTO_TEST_CASE(ArcUnitTest)
Unit test for the Arc class.
Header for the Arc class.
Encapsulation of a wire index in an unsigned 16-bit integer.
const Tilewire & getSourceTilewire(void) const
Returns the source tilewire.
const Tilewire & getSinkTilewire(void) const
Returns the sink tilewire.
Encapsulation of a device tile and wire pair.
bool isUndefined(void) const
std::size_t hash_value(const Arc &inArc)