Skip to content
Snippets Groups Projects
Commit 84eea559 authored by Abdul Mateen Ahmad Khan's avatar Abdul Mateen Ahmad Khan
Browse files

Update BoundaryTests.java

parent b2b5729c
No related branches found
No related tags found
No related merge requests found
...@@ -433,7 +433,7 @@ public void b6_8() ...@@ -433,7 +433,7 @@ public void b6_8()
lines1.add("RET R1"); lines1.add("RET R1");
assertEquals( m.execute(lines1), 2);
} }
...@@ -645,7 +645,7 @@ throws Throwable ...@@ -645,7 +645,7 @@ throws Throwable
lines1.add(" MOV R1 2"); lines1.add(" MOV R1 3");
lines1.add(" JZ R1 2"); lines1.add(" JZ R1 2");
lines1.add(" MOV R5 2"); lines1.add(" MOV R5 2");
lines1.add(" MOV R6 2"); lines1.add(" MOV R6 2");
...@@ -667,7 +667,7 @@ throws Throwable ...@@ -667,7 +667,7 @@ throws Throwable
lines1.add(" MOV R1 3"); lines1.add(" MOV R1 1");
lines1.add(" JZ R1 2"); lines1.add(" JZ R1 2");
lines1.add(" MOV R5 2"); lines1.add(" MOV R5 2");
lines1.add(" RET R4"); lines1.add(" RET R4");
...@@ -692,7 +692,7 @@ throws Throwable ...@@ -692,7 +692,7 @@ throws Throwable
lines1.add(" MOV R1 2"); lines1.add(" MOV R1 2");
lines1.add(" JZ R1 2"); lines1.add(" JZ R1 2");
lines1.add(" MOV R3 2");
lines1.add(" RET R4"); lines1.add(" RET R4");
lines1.add(" RET R3"); lines1.add(" RET R3");
...@@ -701,13 +701,7 @@ throws Throwable ...@@ -701,13 +701,7 @@ throws Throwable
} }
@Test public void aFailedTest()
{
//include a message for better feedback
final int expected = 2;
final int actual = 1 + 2;
assertEquals("Some failure message", expected, actual);
}
//Read in a file containing a program and convert into a list of //Read in a file containing a program and convert into a list of
//string instructions //string instructions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment