diff --git a/mutants/mutant-1/swen90006/machine/Machine.java b/mutants/mutant-1/swen90006/machine/Machine.java index 9bf57316d1c736ea2bd1c62bd6df3c6c0282f331..1b0ad5e3dc03914fcfdd5c96301ee78c48ce755c 100644 --- a/mutants/mutant-1/swen90006/machine/Machine.java +++ b/mutants/mutant-1/swen90006/machine/Machine.java @@ -1,3 +1,8 @@ + //Remove increment for pc for blank line, + // killed by EC #1 test due to incorrect pc. Takes advantage of the + //assumption that not all students will be asserting correct pc on every test + //case, and this is perhaps even less likely on blank lines + package swen90006.machine; import java.util.Arrays; @@ -188,7 +193,10 @@ public class Machine /* check for blank lines */ if (inst.equals("")){ - pc = pc + 1; + pc = pc; + //Remove increment for pc, killed by EC #1 test. Takes advantage of the + //assumption that not all students will be asserting correct pc on every test + //case, and this is perhaps even less likely on blank lines count++; continue; }