|
@ -325,9 +325,14 @@ class UsbPlayerTest { |
|
|
up2.GoToFirst(); |
|
|
up2.GoToFirst(); |
|
|
up2.GoToFirst(); |
|
|
up2.GoToFirst(); |
|
|
|
|
|
|
|
|
|
|
|
UsbPlayer up3 = new UsbPlayer(); |
|
|
|
|
|
up3.next(); |
|
|
|
|
|
up3.GoToFirst(); |
|
|
|
|
|
|
|
|
return Stream.of( |
|
|
return Stream.of( |
|
|
Arguments.of("It should go to the first Song ", up1,up1.getPlaylist().get(0)), |
|
|
Arguments.of("It should go to the first Song ", up1,up1.getPlaylist().get(0)), |
|
|
Arguments.of("Call the function twice and it stills go to the first Song ", up2,up2.getPlaylist().get(0)) |
|
|
|
|
|
|
|
|
Arguments.of("Call the function twice and it stills go to the first Song ", up2,up2.getPlaylist().get(0)), |
|
|
|
|
|
Arguments.of("go to the next Song then back to first Song ", up3,up3.getPlaylist().get(0)) |
|
|
); |
|
|
); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|