Skip to content

Commit 445a129

Browse files
committed
Add test case for 7cc8f58
1 parent c372e92 commit 445a129

File tree

3 files changed

+58
-0
lines changed

3 files changed

+58
-0
lines changed
3.11 KB
Binary file not shown.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// TW Snapshot
2+
// Input SHA-256: be149d21cc69628647000cc698ebd60949252730a0ea7b19f71cc85fe927b294
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["%ehs:~!Y0l-5=!mnd-B?"];
8+
const b2 = stage.variables["=3aHfv[mKa)v,Wfpy:y?"];
9+
const b3 = stage.variables["`jEk@4|i[#Fk?(8x)AV.-my variable"];
10+
return function* genXYZ () {
11+
yield* executeInCompatibilityLayer({"MESSAGE":"plan 1",}, b0, false, false, "d", null);
12+
b1.value = [];
13+
b1.value.push((1 + 2));
14+
b1._monitorUpToDate = false;
15+
b1.value.push("eof");
16+
b1._monitorUpToDate = false;
17+
b2.value = 0;
18+
b3.value = "bwah";
19+
while (!(("" + b3.value).toLowerCase() === "eof".toLowerCase())) {
20+
b2.value = ((+b2.value || 0) + 1);
21+
b3.value = (b1.value[(b2.value | 0) - 1] ?? "");
22+
yield;
23+
}
24+
if (((+b2.value || 0) === 2)) {
25+
yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "q", null);
26+
}
27+
yield* executeInCompatibilityLayer({"MESSAGE":"end",}, b0, false, false, "o", null);
28+
retire(); return;
29+
}; })
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// TW Snapshot
2+
// Input SHA-256: be149d21cc69628647000cc698ebd60949252730a0ea7b19f71cc85fe927b294
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["%ehs:~!Y0l-5=!mnd-B?"];
8+
const b2 = stage.variables["=3aHfv[mKa)v,Wfpy:y?"];
9+
const b3 = stage.variables["`jEk@4|i[#Fk?(8x)AV.-my variable"];
10+
return function* genXYZ () {
11+
yield* executeInCompatibilityLayer({"MESSAGE":"plan 1",}, b0, false, false, "d", null);
12+
b1.value = [];
13+
b1.value.push((1 + 2));
14+
b1._monitorUpToDate = false;
15+
b1.value.push("eof");
16+
b1._monitorUpToDate = false;
17+
b2.value = 0;
18+
b3.value = "bwah";
19+
while (!(("" + b3.value).toLowerCase() === "eof".toLowerCase())) {
20+
b2.value = ((+b2.value || 0) + 1);
21+
b3.value = (b1.value[(b2.value | 0) - 1] ?? "");
22+
yield;
23+
}
24+
if (((+b2.value || 0) === 2)) {
25+
yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "q", null);
26+
}
27+
yield* executeInCompatibilityLayer({"MESSAGE":"end",}, b0, false, false, "o", null);
28+
retire(); return;
29+
}; })

0 commit comments

Comments
 (0)