public void Enumeration_Sorted()
        {
            using (var notesManager = new TrackChunk().ManageNotes())
            {
                var notes = notesManager.Notes;

                notes.Add(NoteTestUtilities.GetNoteByTime(123));
                notes.Add(NoteTestUtilities.GetNoteByTime(1));
                notes.Add(NoteTestUtilities.GetNoteByTime(10));
                notes.Add(NoteTestUtilities.GetNoteByTime(45));

                TimedObjectsCollectionTestUtilities.CheckTimedObjectsCollectionTimes(notes, 1, 10, 45, 123);
            }
        }
Beispiel #2
0
 public static Chord GetChordByTime(long time)
 {
     return(new Chord(new[] { NoteTestUtilities.GetNote() }, time));
 }