mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-18 20:56:28 +01:00
* Sequence: added asserts
* sequence.cpp completed first test git-svn-id: svn://localhost/ardour2/branches/3.0@4504 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
fcfe073b00
commit
9734fa3e93
3 changed files with 28 additions and 10 deletions
|
|
@ -13,6 +13,7 @@ SequenceTest::createTest (void)
|
|||
CPPUNIT_ASSERT(seq->notes().begin() == seq->notes().end());
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
SequenceTest::preserveEventOrderingTest (void)
|
||||
{
|
||||
|
|
@ -50,6 +51,7 @@ SequenceTest::preserveEventOrderingTest (void)
|
|||
seq->end_write();
|
||||
|
||||
TestSink<Time> sink;
|
||||
sink.writing.connect(sigc::mem_fun(&sink, &TestSink<Time>::assertLastEventTimeLessOrEqualEventTime));
|
||||
|
||||
seq->read(sink, timestamp_t(0), timedur_t(1200), timestamp_t(0));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue