|
@@ -325,7 +325,7 @@ describe("OpenSheetMusicDisplay Main Export", () => {
|
|
|
chai.expect(cursor.NotesUnderCursor().length).to.greaterThanOrEqual(1);
|
|
|
chai.expect(cursor.Iterator.currentTimeStamp.RealValue).to.equal(0);
|
|
|
// go past end of sheet
|
|
|
- for (let i: number = 1; i <= 260; i++) {
|
|
|
+ for (let i: number = 1; i <= 520; i++) { // 260 used to be enough when next() apparently ignored repeats
|
|
|
cursor.next(); // go past end of sheet: after 258 times in Clementi 36/1/1, the last timestamp is reached
|
|
|
}
|
|
|
chai.expect(cursor.Iterator.EndReached).to.equal(true);
|