diff --git a/test/swen90006/machine/PartitioningTests.java b/test/swen90006/machine/PartitioningTests.java index 32fb8b97d506ffb086dc0c901aa899303f9762ea..e016d3b2d8e8e532d0c2b9053a4c13ea69d5d172 100644 --- a/test/swen90006/machine/PartitioningTests.java +++ b/test/swen90006/machine/PartitioningTests.java @@ -274,19 +274,19 @@ public void Add_Regsiter_3(){ } } //RET R20;(On point) -@Test public void Ret_Regsiter_4(){ - try{ - //execute code that you expect not to throw Exceptions. - List<String> list = new ArrayList<>(); - Machine m =new Machine(); - list.add("ret R20 R31;"); - thrown.expect(InvalidInstructionException.class); - m.execute(list); - } - catch(NoReturnValueException e){ - fail("Should not have thrown any exception"); - } -} +//@Test public void Ret_Regsiter_4(){ +// try{ +// //execute code that you expect not to throw Exceptions. +// List<String> list = new ArrayList<>(); +// Machine m =new Machine(); +// list.add("ret R20 R31;"); +// thrown.expect(InvalidInstructionException.class); +// m.execute(list); +// } +// catch(NoReturnValueException e){ +// fail("Should not have thrown any exception"); +// } +//} //MOV R-1 200;(Off point) @Test public void Mov_Regsiter_1() { List<String> list = new ArrayList<>();