|
|
@ -47,12 +47,16 @@ class RadioPlayerTest { |
|
|
|
int currentIndex=rp.Playlist.indexOf(rp.playTrack); |
|
|
|
assertThat(rp.playTrack).isEqualTo(rp.Playlist.get((currentIndex)%rp.Playlist.size())); |
|
|
|
} |
|
|
|
/* |
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
void prev() { |
|
|
|
} |
|
|
|
rp.prev(); |
|
|
|
int currentIndex=rp.Playlist.indexOf(rp.playTrack); |
|
|
|
assertThat(rp.playTrack).isEqualTo(rp.Playlist.get((currentIndex)%rp.Playlist.size())); |
|
|
|
|
|
|
|
} |
|
|
|
/* |
|
|
|
@Test |
|
|
|
void getInfoText() { |
|
|
|
} |
|
|
|