Skip to content

Commit 214b86a

Browse files
committed
Add test case for d8c73c7
1 parent 445a129 commit 214b86a

File tree

3 files changed

+60
-0
lines changed

3 files changed

+60
-0
lines changed
3.19 KB
Binary file not shown.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// TW Snapshot
2+
// Input SHA-256: 7f99a41ef716935ae486087d8adf955cbd853c893bc94e58e4cc1c46ad1a7883
3+
4+
// Sprite1 script
5+
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
6+
const b0 = runtime.getOpcodeFunction("looks_say");
7+
const b1 = stage.variables["KMKx1gRubgLz,!L]^TBS"];
8+
const b2 = stage.variables["`jEk@4|i[#Fk?(8x)AV.-my variable"];
9+
return function* genXYZ () {
10+
yield* executeInCompatibilityLayer({"MESSAGE":"plan 1",}, b0, false, false, "g", null);
11+
thread.procedures["Wtest"]();
12+
if ((("" + listGet(b1.value, b2.value)).toLowerCase() === "thing".toLowerCase())) {
13+
yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "m", null);
14+
}
15+
yield* executeInCompatibilityLayer({"MESSAGE":"end",}, b0, false, false, "o", null);
16+
retire(); return;
17+
}; })
18+
19+
// Sprite1 Wtest
20+
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
21+
const b0 = stage.variables["yz}9Y:gLL0ZWEs}l)s+Q"];
22+
const b1 = stage.variables["`jEk@4|i[#Fk?(8x)AV.-my variable"];
23+
return function funXYZ_test () {
24+
if ((("" + b0.value).toLowerCase() === "true".toLowerCase())) {
25+
b1.value = "last";
26+
return "";
27+
}
28+
b1.value = (1 + 2);
29+
return "";
30+
}; })
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// TW Snapshot
2+
// Input SHA-256: 7f99a41ef716935ae486087d8adf955cbd853c893bc94e58e4cc1c46ad1a7883
3+
4+
// Sprite1 script
5+
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
6+
const b0 = runtime.getOpcodeFunction("looks_say");
7+
const b1 = stage.variables["KMKx1gRubgLz,!L]^TBS"];
8+
const b2 = stage.variables["`jEk@4|i[#Fk?(8x)AV.-my variable"];
9+
return function* genXYZ () {
10+
yield* executeInCompatibilityLayer({"MESSAGE":"plan 1",}, b0, false, false, "g", null);
11+
thread.procedures["Wtest"]();
12+
if ((("" + listGet(b1.value, b2.value)).toLowerCase() === "thing".toLowerCase())) {
13+
yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "m", null);
14+
}
15+
yield* executeInCompatibilityLayer({"MESSAGE":"end",}, b0, false, false, "o", null);
16+
retire(); return;
17+
}; })
18+
19+
// Sprite1 Wtest
20+
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
21+
const b0 = stage.variables["yz}9Y:gLL0ZWEs}l)s+Q"];
22+
const b1 = stage.variables["`jEk@4|i[#Fk?(8x)AV.-my variable"];
23+
return function funXYZ_test () {
24+
if ((("" + b0.value).toLowerCase() === "true".toLowerCase())) {
25+
b1.value = "last";
26+
return "";
27+
}
28+
b1.value = (1 + 2);
29+
return "";
30+
}; })

0 commit comments

Comments
 (0)