|
|
@ -180,10 +180,13 @@ void louderTest(String testName, UsbPlayer inputPlay, int expectedResult) { |
|
|
|
up2.quieter_10(); |
|
|
|
} |
|
|
|
|
|
|
|
UsbPlayer up3 = new UsbPlayer(); |
|
|
|
up3.quieter_10(); |
|
|
|
|
|
|
|
return Stream.of( |
|
|
|
Arguments.of("Volume was 10, should be 0 ", up1, 0), |
|
|
|
Arguments.of("Volume was 50, should be 20 ", up2, 20) |
|
|
|
Arguments.of("Volume was 50, should be 20 ", up2, 20), |
|
|
|
Arguments.of("Volume was 0, should stay 0 ", up3, 0) |
|
|
|
); |
|
|
|
} |
|
|
|
|