Browse Source

added test for RadioPlayer quieter function quieterMax

pull/1/head
alpina0707 3 years ago
parent
commit
2171bc3b55
  1. 7
      src/test/java/device/RadioPlayerTest.java

7
src/test/java/device/RadioPlayerTest.java

@ -29,7 +29,12 @@ class RadioPlayerTest {
rp.quieter();
assertThat(rp.getLautstaerke()).isEqualTo(0);
}
@Test
void quieterMax() {
rp.setLautstaerke(0);
rp.quieter();
assertThat(rp.getLautstaerke()).isEqualTo(0);
}
/*
@Test
void getVolume() {

Loading…
Cancel
Save