public void AudioRequestGotoPreviousDoesntReturnBismillahForTawba() { var request = new AudioRequest(0, new QuranAyah(9, 1), null, 0, AudioDownloadAmount.Page); request.GotoPreviousAyah(); Assert.Equal(new QuranAyah(8, 75), request.CurrentAyah); }
public void AudioRequestGotoPreviousReturnBismillah(int expSura, int expAya, int currSura, int currAya) { var request = new AudioRequest(0, new QuranAyah(currSura, currAya), null, 0, AudioDownloadAmount.Page); request.GotoPreviousAyah(); Assert.Equal(new QuranAyah(expSura, expAya), request.CurrentAyah); }