|
|
@ -352,11 +352,15 @@ class UsbPlayerTest { |
|
|
|
up2.GoToLast(); |
|
|
|
up2.GoToLast(); |
|
|
|
|
|
|
|
UsbPlayer up3 = new UsbPlayer(); |
|
|
|
up3.next(); |
|
|
|
up3.GoToLast(); |
|
|
|
|
|
|
|
|
|
|
|
return Stream.of( |
|
|
|
Arguments.of("It should go to the Last Song ", up1,"Musik 03.mp3"), |
|
|
|
Arguments.of("It should go to the Last Song even after calling the function twice ", up2,"Musik 03.mp3") |
|
|
|
Arguments.of("It should go to the Last Song ", up1,up3.getPlaylist().get(up3.getPlaylist().size()-1)), |
|
|
|
Arguments.of("It should go to the Last Song even after calling the function twice ", up2,up3.getPlaylist().get(up3.getPlaylist().size()-1)), |
|
|
|
Arguments.of("It should go to the Last Song even changing the current song ", up3,up3.getPlaylist().get(up3.getPlaylist().size()-1)) |
|
|
|
); |
|
|
|
} |
|
|
|
|