diff --git a/test/swen90006/machine/BoundaryTests.java b/test/swen90006/machine/BoundaryTests.java index 352a0623ace400905e1b82534f61636861354f0f..ba1a57e602604742661cfcdf6d13bab58db57955 100644 --- a/test/swen90006/machine/BoundaryTests.java +++ b/test/swen90006/machine/BoundaryTests.java @@ -24,16 +24,6 @@ public class BoundaryTests { } - //Any method annotation with "@Test" is executed as a test. - @Test public void aTest() - { - //the assertEquals method used to check whether two values are - //equal, using the equals method - final int expected = 2; - final int actual = 1 + 1; - assertEquals(expected, actual); - } - //To test B1 in Machine. @Test public void b1Test() { @@ -73,7 +63,7 @@ public class BoundaryTests { final InvalidInstructionException expected = new InvalidInstructionException(); final List<String> instructions = new ArrayList<>(); - instructions.add("LDR R2 R0 -1"); + instructions.add("LDR R2 R0 -65536"); instructions.add("RET R2"); Machine m = new Machine(); try {