mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
Fix compilation with --test.
Make midnam test suite pass again. The Ardour test suite does not pass. I commented out old crossfade stuff, but I am not familiar enough with the parts that fail to fix it. It might be a good idea for someone to look into this. Ideally we'd have the test integrated into everyone's workflow, but they add quite a few files to compile... git-svn-id: svn://localhost/ardour2/branches/3.0@13931 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
fc7b4b7f62
commit
fa8d0268eb
6 changed files with 22 additions and 16 deletions
|
|
@ -77,12 +77,12 @@ SequenceTest::iteratorSeekTest ()
|
|||
bool on = true;
|
||||
for (Sequence<Time>::const_iterator i = seq->begin(600); i != seq->end(); ++i) {
|
||||
if (on) {
|
||||
CPPUNIT_ASSERT(((MIDIEvent<Time>&)*i).is_note_on());
|
||||
CPPUNIT_ASSERT(((const MIDIEvent<Time>&)*i).is_note_on());
|
||||
CPPUNIT_ASSERT_EQUAL(i->time(), Time((num_notes + 6) * 100));
|
||||
++num_notes;
|
||||
on = false;
|
||||
} else {
|
||||
CPPUNIT_ASSERT(((MIDIEvent<Time>&)*i).is_note_off());
|
||||
CPPUNIT_ASSERT(((const MIDIEvent<Time>&)*i).is_note_off());
|
||||
on = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue