private static void TestSimpleTempoMap(TempoMap tempoMap, TimeDivision expectedTimeDivision, Tempo expectedTempo, TimeSignature expectedTimeSignature) { Assert.AreEqual(expectedTimeDivision, tempoMap.TimeDivision, "Unexpected time division."); Assert.AreEqual(expectedTempo, tempoMap.GetTempoAtTime(new MidiTimeSpan(0)), "Unexpected tempo at the start of tempo map."); Assert.AreEqual(expectedTempo, tempoMap.GetTempoAtTime(new MidiTimeSpan(1000)), "Unexpected tempo at the arbitrary time of tempo map."); Assert.AreEqual(expectedTimeSignature, tempoMap.GetTimeSignatureAtTime(new MidiTimeSpan(0)), "Unexpected time signature at the start of tempo map."); Assert.AreEqual(expectedTimeSignature, tempoMap.GetTimeSignatureAtTime(new MidiTimeSpan(1000)), "Unexpected time signature at the arbitrary time of tempo map."); }