func TestState_currentSong(t *testing.T) {
    schedule.SampleRate = testSampleRate
    for _, c := range currentSongCases {
        state := state{Songs: c.songs}
        actual := state.currentSong(c.sample)