#include "sequence.hpp" #include CPPUNIT_TEST_SUITE_REGISTRATION( SequenceTest ); using namespace std; void SequenceTest::createTest (void) { CPPUNIT_ASSERT_EQUAL(size_t(0), seq->sysexes().size()); CPPUNIT_ASSERT_EQUAL(size_t(0), seq->notes().size()); CPPUNIT_ASSERT(seq->notes().begin() == seq->notes().end()); } void SequenceTest::preserveEventOrderingTest (void) { vector > > inserted_events; seq->start_write(); for (Notes::const_iterator i = test_notes.begin(); i != test_notes.end(); ++i) { uint8_t buffer[2]; Event