removed unnecessary exception
This commit is contained in:
parent
b1b2fc3bfe
commit
8195a676d4
@ -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'));
|
||||||
|
Loading…
Reference in New Issue
Block a user