From 4f9ee9f4ba9219c20433af1f08f1887b064ab118 Mon Sep 17 00:00:00 2001
From: Linyuan Zhao <linyuanz@student.unimelb.edu.au>
Date: Mon, 17 Sep 2018 15:26:47 +1000
Subject: [PATCH] Replace PartitioningTests.java

---
 test/swen90006/machine/PartitioningTests.java | 26 +++++++++----------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/test/swen90006/machine/PartitioningTests.java b/test/swen90006/machine/PartitioningTests.java
index 32fb8b9..e016d3b 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<>();
-- 
GitLab