fix #272312 : mtest doesn't work on Windows

This commit is contained in:
AntonioBL 2018-07-04 21:04:07 +02:00
parent d1d386102e
commit 57ab4c4b19

View file

@ -534,7 +534,7 @@ void TestNote::LongNoteAfterShort_183746() {
std::vector<Note*> nl = static_cast<Note*>(e)->tiedNotes();
QVERIFY(nl.size() >= 3); // the breve must be divided across at least 3 measures
for (Note* n : nl)
totalTicks += static_cast<Chord*>(n->parent())->durationTypeTicks();
totalTicks += static_cast<Ms::Chord*>(n->parent())->durationTypeTicks();
QVERIFY(totalTicks == TDuration(TDuration::DurationType::V_BREVE).ticks()); // total duration same as a breve
}