From d8ae7a98973226fef1e74c19e88f05845a088821 Mon Sep 17 00:00:00 2001 From: alpina0707 Date: Wed, 9 Feb 2022 19:09:34 +0100 Subject: [PATCH] implemented Test for louder max --- src/test/java/device/radioPlayer/RadioPlayerTest.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/test/java/device/radioPlayer/RadioPlayerTest.java b/src/test/java/device/radioPlayer/RadioPlayerTest.java index e261242..6952005 100644 --- a/src/test/java/device/radioPlayer/RadioPlayerTest.java +++ b/src/test/java/device/radioPlayer/RadioPlayerTest.java @@ -25,10 +25,14 @@ class RadioPlayerTest { static Stream quieterLouderOptions() { RadioPlayer rp1 = new RadioPlayer(); + RadioPlayer rp2 = new RadioPlayer(); rp1.setLautstaerke(0); rp1.louder(); + rp2.setLautstaerke(100); + rp2.louder(); return Stream.of( - Arguments.of("Test for one louder", rp1, 1) + Arguments.of("Test for one louder", rp1, 1), + Arguments.of("Test for one louder", rp2, 100) ); }