|
|
@ -348,9 +348,15 @@ class UsbPlayerTest { |
|
|
|
UsbPlayer up1 = new UsbPlayer(); |
|
|
|
up1.GoToLast(); |
|
|
|
|
|
|
|
UsbPlayer up2 = new UsbPlayer(); |
|
|
|
up2.GoToLast(); |
|
|
|
up2.GoToLast(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return Stream.of( |
|
|
|
Arguments.of("It should go to the first Song ", up1,"Musik 03.mp3") |
|
|
|
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") |
|
|
|
); |
|
|
|
} |
|
|
|
|