|
|
@ -19,7 +19,7 @@ class RadioPlayerTest { |
|
|
|
@ParameterizedTest |
|
|
|
@MethodSource("quieterLouderOptions") |
|
|
|
void quieterLouderTest(String testName, RadioPlayer testRp, int expectedResult) { |
|
|
|
int volume = testRp.getLautstaerke(); |
|
|
|
int volume = testRp.getVolume(); |
|
|
|
assertThat(volume).describedAs(testName).isEqualTo(expectedResult); |
|
|
|
} |
|
|
|
|
|
|
@ -67,12 +67,6 @@ class RadioPlayerTest { |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* |
|
|
|
@Test |
|
|
|
void getVolume() { |
|
|
|
} |
|
|
|
*/ |
|
|
|
|
|
|
|
@ParameterizedTest |
|
|
|
@MethodSource("prevNextOptions") |
|
|
|
void prevNextTest(String testName, RadioPlayer testRp, String expectedResult) { |
|
|
|