diff --git a/corpus/javascript/for-in/0a61ac77e85b.js b/corpus/javascript/for-in/0a61ac77e85b.js new file mode 100644 index 00000000..75d0ad13 --- /dev/null +++ b/corpus/javascript/for-in/0a61ac77e85b.js @@ -0,0 +1 @@ +for (const x in y) {} diff --git a/corpus/javascript/for-in/0a61ac77e85b.mutation.json b/corpus/javascript/for-in/0a61ac77e85b.mutation.json new file mode 100644 index 00000000..09465261 --- /dev/null +++ b/corpus/javascript/for-in/0a61ac77e85b.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "js", + "twig": [ + "src/a.js" + ], + "kind": "StatementBlock", + "subst_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 2, + "col": 1, + "byte": 29 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 2, + "col": 1, + "byte": 29 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/javascript/for-in/base.js b/corpus/javascript/for-in/base.js new file mode 100644 index 00000000..79712471 --- /dev/null +++ b/corpus/javascript/for-in/base.js @@ -0,0 +1,3 @@ +for (const x in y) { + z(); +} diff --git a/corpus/javascript/for-of/80e2ba36f1f6.js b/corpus/javascript/for-of/80e2ba36f1f6.js new file mode 100644 index 00000000..5474b17a --- /dev/null +++ b/corpus/javascript/for-of/80e2ba36f1f6.js @@ -0,0 +1 @@ +for(const x of y){} diff --git a/corpus/javascript/for-of/80e2ba36f1f6.mutation.json b/corpus/javascript/for-of/80e2ba36f1f6.mutation.json new file mode 100644 index 00000000..3f44f99e --- /dev/null +++ b/corpus/javascript/for-of/80e2ba36f1f6.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "js", + "twig": [ + "src/a.js" + ], + "kind": "StatementBlock", + "subst_span": { + "start": { + "line": 0, + "col": 17, + "byte": 17 + }, + "end": { + "line": 2, + "col": 1, + "byte": 24 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 17, + "byte": 17 + }, + "end": { + "line": 2, + "col": 1, + "byte": 24 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/javascript/for-of/base.js b/corpus/javascript/for-of/base.js new file mode 100644 index 00000000..54eb09f9 --- /dev/null +++ b/corpus/javascript/for-of/base.js @@ -0,0 +1,3 @@ +for(const x of y){ +z() +} diff --git a/corpus/typescript/condition-else/1bbb9da263e9.mutation.json b/corpus/typescript/condition-else/1bbb9da263e9.mutation.json new file mode 100644 index 00000000..89825c2b --- /dev/null +++ b/corpus/typescript/condition-else/1bbb9da263e9.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "ts", + "twig": [ + "src/a.ts" + ], + "kind": "StatementBlock", + "subst_span": { + "start": { + "line": 2, + "col": 7, + "byte": 23 + }, + "end": { + "line": 4, + "col": 1, + "byte": 33 + } + }, + "effect_span": { + "start": { + "line": 2, + "col": 7, + "byte": 23 + }, + "end": { + "line": 4, + "col": 1, + "byte": 33 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/typescript/condition-else/1bbb9da263e9.ts b/corpus/typescript/condition-else/1bbb9da263e9.ts new file mode 100644 index 00000000..37b00182 --- /dev/null +++ b/corpus/typescript/condition-else/1bbb9da263e9.ts @@ -0,0 +1,3 @@ +if (x) { + y(); +} else {} diff --git a/corpus/typescript/condition-else/afba60ee0e15.mutation.json b/corpus/typescript/condition-else/afba60ee0e15.mutation.json new file mode 100644 index 00000000..6d6442ce --- /dev/null +++ b/corpus/typescript/condition-else/afba60ee0e15.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "ts", + "twig": [ + "src/a.ts" + ], + "kind": "Condition", + "subst_span": { + "start": { + "line": 0, + "col": 4, + "byte": 4 + }, + "end": { + "line": 0, + "col": 5, + "byte": 5 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 0, + "byte": 0 + }, + "end": { + "line": 4, + "col": 1, + "byte": 33 + } + } + }, + "subst": "true" +} \ No newline at end of file diff --git a/corpus/typescript/condition-else/afba60ee0e15.ts b/corpus/typescript/condition-else/afba60ee0e15.ts new file mode 100644 index 00000000..6dc71648 --- /dev/null +++ b/corpus/typescript/condition-else/afba60ee0e15.ts @@ -0,0 +1,5 @@ +if (true) { + y(); +} else { + z(); +} diff --git a/corpus/typescript/condition-else/b288b037816b.mutation.json b/corpus/typescript/condition-else/b288b037816b.mutation.json new file mode 100644 index 00000000..9ba2a874 --- /dev/null +++ b/corpus/typescript/condition-else/b288b037816b.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "ts", + "twig": [ + "src/a.ts" + ], + "kind": "Condition", + "subst_span": { + "start": { + "line": 0, + "col": 4, + "byte": 4 + }, + "end": { + "line": 0, + "col": 5, + "byte": 5 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 0, + "byte": 0 + }, + "end": { + "line": 4, + "col": 1, + "byte": 33 + } + } + }, + "subst": "false" +} \ No newline at end of file diff --git a/corpus/typescript/condition-else/b288b037816b.ts b/corpus/typescript/condition-else/b288b037816b.ts new file mode 100644 index 00000000..2a05ddf7 --- /dev/null +++ b/corpus/typescript/condition-else/b288b037816b.ts @@ -0,0 +1,5 @@ +if (false) { + y(); +} else { + z(); +} diff --git a/corpus/typescript/condition-else/base.ts b/corpus/typescript/condition-else/base.ts new file mode 100644 index 00000000..3f551022 --- /dev/null +++ b/corpus/typescript/condition-else/base.ts @@ -0,0 +1,5 @@ +if (x) { + y(); +} else { + z(); +} diff --git a/corpus/typescript/condition-else/f82c43143668.mutation.json b/corpus/typescript/condition-else/f82c43143668.mutation.json new file mode 100644 index 00000000..3a37cb9a --- /dev/null +++ b/corpus/typescript/condition-else/f82c43143668.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "ts", + "twig": [ + "src/a.ts" + ], + "kind": "StatementBlock", + "subst_span": { + "start": { + "line": 0, + "col": 7, + "byte": 7 + }, + "end": { + "line": 2, + "col": 1, + "byte": 17 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 7, + "byte": 7 + }, + "end": { + "line": 2, + "col": 1, + "byte": 17 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/typescript/condition-else/f82c43143668.ts b/corpus/typescript/condition-else/f82c43143668.ts new file mode 100644 index 00000000..dbde351f --- /dev/null +++ b/corpus/typescript/condition-else/f82c43143668.ts @@ -0,0 +1,3 @@ +if (x) {} else { + z(); +}