Skip to content

Commit

Permalink
fix: fix test4 and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
exKAZUu committed Sep 24, 2024
1 parent e02ca0d commit 522744b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/problems/problemData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1301,7 +1301,7 @@ s.get('c1').turnRight();
s.set('i', 0);
s.get('c1').forward();
s.set('c2', new Character(<2-5>, <3-5>, 'G'));
s.set('c2', new Character(2, 3, 'G'));
s.get('c2').forward();
s.set('foo', 'あいうえお');
s.set('bar', <1-100>);
Expand All @@ -1318,7 +1318,7 @@ public class Main {
int i = 0; // sid
c1.forward(); // sid
Character c2 = new Character(<2-5>, <3-5>, "green"); // sid
Character c2 = new Character(2, 3, "green"); // sid
c2.forward(); // sid
String foo = "あいうえお"; // sid
int bar = <1-100>; // sid
Expand Down
16 changes: 8 additions & 8 deletions tests/unit/traceCode.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public class Main {
Character c2 = new Character(2, 3, "green");
c2.forward();
String foo = "あいうえお";
int bar = 79;
int bar = 23;
i = bar + 1;
c2.forward();
c2.forward();
Expand Down Expand Up @@ -362,7 +362,7 @@ public class Main {
c2: { ...defaultCharacter, x: 2, y: 4, color: 'G' },
i: 0,
foo: 'あいうえお',
bar: 79,
bar: 23,
},
board: getBoard([
{ x: sx, y: sy, color: '#' },
Expand All @@ -377,9 +377,9 @@ public class Main {
vars: {
c1: { ...defaultCharacter, x: sx + 1, y: sy + 1, dir: 'E' },
c2: { ...defaultCharacter, x: 2, y: 4, color: 'G' },
i: 80,
i: 24,
foo: 'あいうえお',
bar: 79,
bar: 23,
},
board: getBoard([
{ x: sx, y: sy, color: '#' },
Expand All @@ -394,9 +394,9 @@ public class Main {
vars: {
c1: { ...defaultCharacter, x: sx + 1, y: sy + 1, dir: 'E' },
c2: { ...defaultCharacter, x: 2, y: 5, color: 'G' },
i: 80,
i: 24,
foo: 'あいうえお',
bar: 79,
bar: 23,
},
board: getBoard([
{ x: sx, y: sy, color: '#' },
Expand All @@ -412,9 +412,9 @@ public class Main {
vars: {
c1: { ...defaultCharacter, x: sx + 1, y: sy + 1, dir: 'E' },
c2: { ...defaultCharacter, x: 2, y: 6, color: 'G' },
i: 80,
i: 24,
foo: 'あいうえお',
bar: 79,
bar: 23,
},
board: getBoard([
{ x: sx, y: sy, color: '#' },
Expand Down

0 comments on commit 522744b

Please sign in to comment.