20#include <boost/test/unit_test.hpp>
40 BOOST_CHECK_EQUAL( a.
Hash(), a0.
Hash() );
43 BOOST_CHECK_EQUAL( b.
Hash(), b0.
Hash() );
46 BOOST_CHECK_EQUAL( c.
Hash(), c0.
Hash() );
49 BOOST_CHECK_EQUAL( d.
Hash(), d0.
Hash() );
79 wxString str_a( wxS(
"AABBCCDD" ) );
80 wxString str_b( wxS(
"00000012" ) );
99BOOST_AUTO_TEST_SUITE_END()
bool EndsWith(const KIID_PATH &aPath) const
Test if aPath from the last path towards the first path.
static void SeedGenerator(unsigned int aSeed)
Re-initialize the UUID generator with a given seed (for testing or QA purposes)
wxString AsLegacyTimestampString() const
timestamp_t AsLegacyTimestamp() const
uint32_t timestamp_t
timestamp_t is our type to represent unique IDs for all kinds of elements; historically simply the ti...
BOOST_CHECK(box.ClosestPointTo(VECTOR2D(0, 0))==VECTOR2D(1, 2))
Test suite for KiCad math code.
BOOST_AUTO_TEST_SUITE(CadstarPartParser)
BOOST_AUTO_TEST_CASE(Seeding)