removed unnecessary exception

This commit is contained in:
steam
2022-10-05 15:02:31 +02:00
parent b1b2fc3bfe
commit 8195a676d4
+1 -1
View File
@@ -8,7 +8,7 @@ import static org.junit.Assert.assertEquals;
public class CheckOutTest { public class CheckOutTest {
@Test @Test
public void testScan() throws Exception { public void testScan(){
CheckOut testPrice = new CheckOut(); CheckOut testPrice = new CheckOut();
assertEquals(50, testPrice.scan('A')); assertEquals(50, testPrice.scan('A'));
assertEquals(80, testPrice.scan('B')); assertEquals(80, testPrice.scan('B'));