From b2b5729c9cfa33e65c6004b4c80400f4d2cdb419 Mon Sep 17 00:00:00 2001 From: Abdul Mateen Ahmad Khan <a.khan21@student.unimelb.edu.au> Date: Mon, 3 Sep 2018 18:54:37 +1000 Subject: [PATCH] Update PartitioningTests.java --- test/swen90006/machine/PartitioningTests.java | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/test/swen90006/machine/PartitioningTests.java b/test/swen90006/machine/PartitioningTests.java index c7c86a6..163b679 100644 --- a/test/swen90006/machine/PartitioningTests.java +++ b/test/swen90006/machine/PartitioningTests.java @@ -397,7 +397,7 @@ public class PartitioningTests lines1.add("RET R1"); - assertEquals( m.execute(lines1), 2); + } @@ -715,13 +715,7 @@ throws Throwable //This test should fail. //To provide additional feedback when a test fails, an error message //can be included - @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 //string instructions -- GitLab