Skip to content
Snippets Groups Projects
Commit 966a8090 authored by Chamira Balasuriya's avatar Chamira Balasuriya
Browse files

added mutant

parent 8b60fbf5
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ package swen90006.machine; ...@@ -2,7 +2,7 @@ package swen90006.machine;
import java.util.Arrays; import java.util.Arrays;
import java.util.List; import java.util.List;
//test
public class Machine public class Machine
{ {
/** arithmetic instructions each take three registers as arguments with the /** arithmetic instructions each take three registers as arguments with the
...@@ -76,7 +76,7 @@ public class Machine ...@@ -76,7 +76,7 @@ public class Machine
if (regs[src2] == 0){ if (regs[src2] == 0){
/* no op */ /* no op */
}else{ }else{
regs[dest] = regs[src1] / regs[src2]; regs[dest] = regs[src1] % regs[src2];
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment