From 3d3a1d8dfce9e905d8173d83364e0fea9862c806 Mon Sep 17 00:00:00 2001 From: sahar Date: Fri, 11 Feb 2022 21:35:19 +0100 Subject: [PATCH] UsbPlayerTest.louder_10_Test() second Case --- src/test/java/device/usbPlayer/UsbPlayerTest.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/test/java/device/usbPlayer/UsbPlayerTest.java b/src/test/java/device/usbPlayer/UsbPlayerTest.java index 978c5db..722f74e 100644 --- a/src/test/java/device/usbPlayer/UsbPlayerTest.java +++ b/src/test/java/device/usbPlayer/UsbPlayerTest.java @@ -146,9 +146,14 @@ void louderTest(String testName, UsbPlayer inputPlay, int expectedResult) { static Stream louder_10_Options() { UsbPlayer up1 = new UsbPlayer(); up1.Louder_10(); + UsbPlayer up2 = new UsbPlayer(); + for (int i = 0; i < 3; i++) {//3 + up2.Louder_10(); + } return Stream.of( - Arguments.of("Volume was 0, should 10 ", up1, 10) + Arguments.of("Volume was 0, should 10 ", up1, 10), + Arguments.of("Volume was increased 3 times :30 ", up2, 30) ); }