@ -1,35 +1,26 @@
package device;
import org.junit.Before;
import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.jupiter.api.Assertions.*;
class RadioPlayerTest {
RadioPlayer rp = new RadioPlayer();
@Before
void setup()
{
rp.setLautstaerke(0);
}
@Test
void louder() {
rp.louder();
assertThat(rp.getLautstaerke()).isEqualTo(1);
void setup1()
rp.setLautstaerke(100);
void loudermax() {
void louderMax() {
assertThat(rp.getLautstaerke()).isEqualTo(100);
/*