removed unnecessary exception
This commit is contained in:
1 parent
b1b2fc3bfe
commit
8195a676d4
1 file changed
+1
-1
@@ -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'));
|
||||||
|
|||||||
Reference in new issue
Block a user