|
@ -7,7 +7,7 @@ import static org.assertj.core.api.Assertions.assertThat; |
|
|
|
|
|
|
|
|
class UsbPlayerTest { |
|
|
class UsbPlayerTest { |
|
|
|
|
|
|
|
|
UsbPlayer up =new UsbPlayer(); |
|
|
|
|
|
|
|
|
UsbPlayer up = new UsbPlayer(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
@Test |
|
@ -16,11 +16,14 @@ class UsbPlayerTest { |
|
|
up.louder(); |
|
|
up.louder(); |
|
|
assertThat(up.getLautstaerke()).isEqualTo(41); |
|
|
assertThat(up.getLautstaerke()).isEqualTo(41); |
|
|
} |
|
|
} |
|
|
/* |
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
@Test |
|
|
void quiter() { |
|
|
|
|
|
|
|
|
void quieter_test() { |
|
|
|
|
|
up.setLautstaerke(40); |
|
|
|
|
|
up.quieter(); |
|
|
|
|
|
assertThat(up.getLautstaerke()).isEqualTo(39); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* |
|
|
@Test |
|
|
@Test |
|
|
void getVolume() { |
|
|
void getVolume() { |
|
|
} |
|
|
} |
|
|